add , char at the end of nick at first TAB keypress.

This commit is contained in:
Yann Leboulanger 2006-05-06 20:32:07 +00:00
parent 34ee6ea2a7
commit d38840ba04
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ' '