Nice typo

This commit is contained in:
Marco Pesenti Gritti 2006-05-11 23:03:40 -04:00
parent 23f3ae5421
commit 43bcab5f0e

View File

@ -365,7 +365,7 @@ class GroupChat(Chat):
self._controller.notify_new_message(self, None)
def _buddy_recv_message(self, sender, msg):
if self._chats.has_key[sender]:
if self._chats.has_key(sender):
chat = BuddyChat(self, sender)
self._chats[buddy] = chat
chat.activity_connect_to_shell()