summaryrefslogtreecommitdiff
path: root/src/room.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/room.py')
-rw-r--r--src/room.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/room.py b/src/room.py
index 8cd7a0f8..28f8cfad 100644
--- a/src/room.py
+++ b/src/room.py
@@ -64,6 +64,8 @@ class Room(object):
when we receive an history message said by someone who is not
in the room anymore
"""
+ if time == None and self.joined: # don't log the history messages
+ logger.message(self.name, nickname, txt)
user = self.get_user_by_name(nickname) if nickname is not None else None
if user:
user.set_last_talked(datetime.now())