This commit is contained in:
Nikos Kouremenos 2005-07-30 07:17:32 +00:00
parent c31e8e9d41
commit cae7a202bb
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ class GroupchatWindow(chat.Chat):
# or /topic to get the subject printed # or /topic to get the subject printed
after_command = message[6:] # 6 is len('/topic') after_command = message[6:] # 6 is len('/topic')
splitted_arg = after_command.split() splitted_arg = after_command.split()
if not message[6].isspace() and len(message) > 6: if len(message) > 6 and not message[6].isspace():
# he wrote /topicA so do not accept that # he wrote /topicA so do not accept that
return return
if len(splitted_arg): # we set subject if len(splitted_arg): # we set subject