From 356dd4b5ecf01a4ff130d5822a19f7a080404672 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 20 Mar 2011 03:05:52 +0100 Subject: Case insensitive HL --- src/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3