diff options
author | mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-11 22:57:21 +0000 |
---|---|---|
committer | mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-11 22:57:21 +0000 |
commit | eb528eb9aed224458fa2d08d0d202c309451fa82 (patch) | |
tree | f046ac4fc5a1813d61540c4f370bce58be5a8da7 | |
parent | 2102085f9ee65f1c65729096ac259fa1964798ea (diff) | |
download | poezio-eb528eb9aed224458fa2d08d0d202c309451fa82.tar.gz poezio-eb528eb9aed224458fa2d08d0d202c309451fa82.tar.bz2 poezio-eb528eb9aed224458fa2d08d0d202c309451fa82.tar.xz poezio-eb528eb9aed224458fa2d08d0d202c309451fa82.zip |
fixed #1925
-rw-r--r-- | src/room.py | 3 |
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()) |