Mercurial > xib
changeset 184:1e5308a0db55
added 2 IRC events to ignore, 042 and pubnotice
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Fri, 19 Feb 2010 14:38:50 +0100 |
parents | 8f67684fee23 |
children | 6173873c6b0d |
files | bot.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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