This commit is contained in:
mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-10-11 23:20:31 +00:00
parent 63bc5a2a2f
commit 1c32d1f847

View file

@ -97,7 +97,7 @@ class Room(TextBuffer):
in the room anymore in the room anymore
""" """
self.log_message(txt, time, nickname) self.log_message(txt, time, nickname)
if txt.startswith('/me'): if txt.startswith('/me '):
txt = "* " + nickname + ' ' + txt[4:] txt = "* " + nickname + ' ' + txt[4:]
nickname = None nickname = None
user = self.get_user_by_name(nickname) if nickname is not None else None user = self.get_user_by_name(nickname) if nickname is not None else None