From cae7a202bbe54dd26061b4ec9aff9b9b7ee11bd1 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sat, 30 Jul 2005 07:17:32 +0000 Subject: [PATCH] fix a tb --- src/groupchat_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 7b553ccbf..d38b70ffb 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -613,7 +613,7 @@ class GroupchatWindow(chat.Chat): # or /topic to get the subject printed after_command = message[6:] # 6 is len('/topic') 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 return if len(splitted_arg): # we set subject