Mercurial > xib
diff bot.py @ 27:9b7a628ca612
Fixed XMPP message handling, again.
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Fri, 21 Aug 2009 00:46:09 +0200 |
parents | a9066c416533 |
children | a694ffe6a973 |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -173,7 +173,7 @@ class bot(Thread): try: from_ = bridge.getParticipant(message.getFrom().getResource()) - to_ = bridge.getParticipant(message.getTo().getResource()) + to_ = bridge.getParticipant(xmpp_c.nickname) if from_.protocol == 'xmpp': from_.sayOnIRCTo(to_.nickname, message.getBody())