diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-03-20 03:05:52 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-03-20 03:05:52 +0100 |
commit | 356dd4b5ecf01a4ff130d5822a19f7a080404672 (patch) | |
tree | 6cef017ade6458352e87ee0892ae5378fa556b14 /src | |
parent | 902cfd90563db2052440be8f890a74b50955f7bf (diff) | |
download | poezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.tar.gz poezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.tar.bz2 poezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.tar.xz poezio-356dd4b5ecf01a4ff130d5822a19f7a080404672.zip |
Case insensitive HL
Diffstat (limited to 'src')
-rw-r--r-- | src/room.py | 2 |
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: |