# HG changeset patch # User Charly COSTE # Date 1266586730 -3600 # Node ID 1e5308a0db559613cc49eb47fc3ef21ea10dc043 # Parent 8f67684fee232bebe0c85f62262f68ce0e9b8c05 added 2 IRC events to ignore, 042 and pubnotice Signed-off-by: Charly COSTE diff --git a/bot.py b/bot.py --- a/bot.py +++ b/bot.py @@ -440,7 +440,7 @@ class Bot(threading.Thread): # Events we always want to ignore if 'all' in event.eventtype() or 'motd' in event.eventtype() or event.eventtype() in ['nicknameinuse', 'nickcollision', 'erroneusnickname']: return - if event.eventtype() in ['pong', 'privnotice', 'ctcp', 'nochanmodes', 'notexttosend', 'currenttopic', 'topicinfo', '328']: + if event.eventtype() in ['pong', 'privnotice', 'ctcp', 'nochanmodes', 'notexttosend', 'currenttopic', 'topicinfo', '328', 'pubnotice', '042']: self.error(1, 'ignoring IRC '+event.eventtype(), debug=True) return