# HG changeset patch # User Charly COSTE # Date 1251310250 -7200 # Node ID c09f9523fe2e75e8744c5ebf988dc665ce77cbd4 # Parent 2507f424773ababdafaee79da4ec9906d9d298d5 I'm stupid ... Signed-off-by: Charly COSTE diff --git a/bot.py b/bot.py --- 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: