summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/theme.py2
-rw-r--r--src/windows.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/theme.py b/src/theme.py
index e5d10f84..10082676 100644
--- a/src/theme.py
+++ b/src/theme.py
@@ -34,7 +34,7 @@ log = logging.getLogger(__name__)
# Message text color
COLOR_NORMAL_TEXT = 0
COLOR_INFORMATION_TEXT = 5
-COLOR_HIGHLIGHT_NICK = 45
+COLOR_HIGHLIGHT_NICK = 10
# User list color
COLOR_USER_VISITOR = 7
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: