summaryrefslogtreecommitdiff
path: root/src/room.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/room.py')
-rw-r--r--src/room.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/room.py b/src/room.py
index f2a608fc..a0d8d832 100644
--- a/src/room.py
+++ b/src/room.py
@@ -97,6 +97,9 @@ class Room(TextBuffer):
in the room anymore
"""
self.log_message(txt, time, nickname)
+ if txt.startswith('/me'):
+ txt = "* " + nickname + ' ' + txt[4:]
+ nickname = None
user = self.get_user_by_name(nickname) if nickname is not None else None
if user:
user.set_last_talked(datetime.now())