Browse files

Fix a NameError

  • Loading branch information...
1 parent f91cc16 commit 5bdc19be0fad41e9caf76ed0548a8c68f29ce48e @nelhage committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 party-zephyr.py
View
2 party-zephyr.py
@@ -62,11 +62,11 @@ def callback_message(self, conn, mess):
return
m = CHAT_MESSAGE.search(body)
if m:
+ who = m.group(1)
if who == 'z':
# If we get a message from ourself echoed back,
# squelch it.
return
- who = m.group(1)
body = m.group(2)
from_jabber_q.put((chat, who, body))

0 comments on commit 5bdc19b

Please sign in to comment.