Mercurial > xib
changeset 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 | 1691ab4d131f |
children | 6481b9bb95aa |
files | bot.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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())