Mercurial > xib
comparison bot.py @ 144:fcab2bdf1d65
added an IRC event to ignore
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 17 Jan 2010 14:33:56 +0100 |
parents | 46c02cc89f18 |
children | a04840ad92b7 |
comparison
equal
deleted
inserted
replaced
143:61d7cae1d15d | 144:fcab2bdf1d65 |
---|---|
445 | 445 |
446 | 446 |
447 # Events we always want to ignore | 447 # Events we always want to ignore |
448 if 'all' in event.eventtype() or 'motd' in event.eventtype(): | 448 if 'all' in event.eventtype() or 'motd' in event.eventtype(): |
449 return | 449 return |
450 if event.eventtype() in ['pong', 'privnotice', 'ctcp', 'nochanmodes', 'notexttosend', 'currenttopic', 'topicinfo']: | 450 if event.eventtype() in ['pong', 'privnotice', 'ctcp', 'nochanmodes', 'notexttosend', 'currenttopic', 'topicinfo', '328']: |
451 self.error('=> Debug: ignoring IRC '+event.eventtype(), debug=True) | 451 self.error('=> Debug: ignoring IRC '+event.eventtype(), debug=True) |
452 return | 452 return |
453 | 453 |
454 | 454 |
455 nickname = None | 455 nickname = None |