From d38840ba04d7f9ddfed28aad64fc0c53132b2cb9 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Sat, 6 May 2006 20:32:07 +0000 Subject: [PATCH] add , char at the end of nick at first TAB keypress. --- src/groupchat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 85d78e0979..ffeee0fb13 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1349,7 +1349,7 @@ class GroupchatControl(ChatControlBase): # the word is the begining of a nick self.nick_hits.append(nick) if len(self.nick_hits): - if len(splitted_text) == 1: # This is the 1st word of the line + if len(splitted_text) < 2: # This is the 1st word of the line or no word add = self.gc_refer_to_nick_char + ' ' else: add = ' ' -- GitLab