Mercurial > xib
changeset 55:c09f9523fe2e
I'm stupid ...
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Wed, 26 Aug 2009 20:10:50 +0200 |
parents | 2507f424773a |
children | b048c4c03b00 |
files | bot.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -288,7 +288,7 @@ class bot(Thread): return if event.eventtype() in ['pubmsg', 'action']: - if connection.get_nickname() == self.nickname: + if connection.get_nickname() != self.nickname: self.error('=> Debug: ignoring IRC '+event.eventtype()+' not received on bot connection', debug=True) return if nickname == self.nickname: