Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/chat
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2006-05-05 17:17:37 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2006-05-05 17:17:37 (GMT)
commitdd95b7e8bc926094761f0cea8775ca0f3b33cd16 (patch)
tree3a41da404d18c60720996670117b2914d7a0a773 /chat
parent4bd94b0019eee49a47de33512546b61876d9f0bc (diff)
Typo
Diffstat (limited to 'chat')
-rwxr-xr-xchat/chat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/chat/chat.py b/chat/chat.py
index bb5bb34..2948c26 100755
--- a/chat/chat.py
+++ b/chat/chat.py
@@ -339,10 +339,10 @@ class GroupChat(Chat):
self._controller.notify_new_message(self, None)
def _buddy_recv_message(self, sender, msg):
- chat = buddy.chat()
+ chat = sender.chat()
if not chat:
- chat = BuddyChat(self._parent, buddy)
- buddy.set_chat(chat)
+ chat = BuddyChat(self._parent, sender)
+ sender.set_chat(chat)
chat.activity_connect_to_shell()
chat.recv_message(message)