diff options
Diffstat (limited to 'src/room.py')
-rw-r--r-- | src/room.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/room.py b/src/room.py index 0863b209..0167541e 100644 --- a/src/room.py +++ b/src/room.py @@ -108,7 +108,10 @@ class Room(object): self.set_color_state(common.ROOM_STATE_MESSAGE) else: self.set_color_state(common.ROOM_STATE_PRIVATE) - color = self.do_highlight(txt, time, nickname) + if not nickname: + color = 8 + else: + color = self.do_highlight(txt, time, nickname) if time: # History messages are colored to be distinguished color = 8 time = time if time is not None else datetime.now() |