From 32308646de42ae11f60177d795dffe8e3070a961 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 21 Oct 2013 00:22:39 +0200 Subject: And I forgot to scp this file :x --- src/tabs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index 3d38ec2b..4dc01316 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1378,7 +1378,7 @@ class MucTab(ChatTab): word_list = [user.nick for user in sorted(self.users, key=compare_users, reverse=True)\ if user.nick != self.own_nick] after = config.get('after_completion', ',')+" " - input_pos = self.input.pos + self.input.line_pos + input_pos = self.input.pos if ' ' not in self.input.get_text()[:input_pos] or (self.input.last_completion and\ self.input.get_text()[:input_pos] == self.input.last_completion + after): add_after = after @@ -1936,7 +1936,7 @@ class PrivateTab(ChatTab): word_list = [user.nick for user in sorted(self.parent_muc.users, key=compare_users, reverse=True)\ if user.nick != self.own_nick] after = config.get('after_completion', ',')+" " - input_pos = self.input.pos + self.input.line_pos + input_pos = self.input.pos if ' ' not in self.input.get_text()[:input_pos] or (self.input.last_completion and\ self.input.get_text()[:input_pos] == self.input.last_completion + after): add_after = after -- cgit v1.2.3