summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index 786eaf82..eaa8da68 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -569,7 +569,7 @@ class TextWin(Win):
while txt != '':
(txt, cutted_txt) = cut_text(txt, self.width-offset-1)
if first:
- color = message.user.color if message.user else message.nick_color
+ color = message.nick_color or message.user.color if message.user else None
else:
color = None
if first: