summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2011-01-01 14:47:29 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2011-01-01 14:47:29 +0000
commitea3e606d473fb9906f956fcdcd51a4ab8102887f (patch)
tree4e15d19cc649f778cab02825777650868ac07b26 /src/windows.py
parentd712d2e1c91efa951f652073bcbae47cee75d601 (diff)
downloadpoezio-ea3e606d473fb9906f956fcdcd51a4ab8102887f.tar.gz
poezio-ea3e606d473fb9906f956fcdcd51a4ab8102887f.tar.bz2
poezio-ea3e606d473fb9906f956fcdcd51a4ab8102887f.tar.xz
poezio-ea3e606d473fb9906f956fcdcd51a4ab8102887f.zip
fix /recolor with the new nick_color method
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 3a2b5905..df3d40e2 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -470,7 +470,7 @@ class TextWin(Win):
else:
limit = self.width-offset-1
this_line_was_broken_by_space = False
- color = message.nick_color
+ color = message.user.color if message.user else message.nick_color
if not first:
nick = None
time = None