summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-03-20 03:05:52 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-03-20 03:05:52 +0100
commit356dd4b5ecf01a4ff130d5822a19f7a080404672 (patch)
tree6cef017ade6458352e87ee0892ae5378fa556b14
parent902cfd90563db2052440be8f890a74b50955f7bf (diff)
downloadpoezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.tar.gz
poezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.tar.bz2
poezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.tar.xz
poezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.zip
Case insensitive HL
-rw-r--r--src/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/room.py b/src/room.py
index 99674aa0..080c91eb 100644
--- a/src/room.py
+++ b/src/room.py
@@ -59,7 +59,7 @@ class Room(TextBuffer):
"""
color = theme.COLOR_NORMAL_TEXT
if not time and nickname and nickname != self.own_nick and self.joined:
- if self.own_nick in txt:
+ if self.own_nick.lower() in txt.lower():
self.set_color_state(theme.COLOR_TAB_HIGHLIGHT)
color = theme.COLOR_HIGHLIGHT_TEXT
else: