diff options
Diffstat (limited to 'src/window.py')
-rw-r--r-- | src/window.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.py b/src/window.py index 7d8a5e60..8931ccac 100644 --- a/src/window.py +++ b/src/window.py @@ -549,8 +549,8 @@ class Input(Win): begin = self.text.split()[-1].encode('utf-8').lower() hit_list = [] # list of matching nicks for user in user_list: - if user.nick.lower().startswith(begin): - hit_list.append(user.nick) + if user.lower().startswith(begin): + hit_list.append(user) if len(hit_list) == 0: return self.last_key_tab = True @@ -577,8 +577,8 @@ class Input(Win): begin = self.text.split()[-1].encode('utf-8').lower() hit_list = [] # list of matching nicks for user in user_list: - if user.nick.lower().startswith(begin): - hit_list.append(user.nick) + if user.lower().startswith(begin): + hit_list.append(user) if len(hit_list) == 0: return end = False |