Mercurial > xib
diff bot.py @ 64:8fc496eaa17b
Handle IRC "nickcollision" event
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 30 Aug 2009 01:18:34 +0200 |
parents | 71508f22edb4 |
children | 01f1c6cb7447 |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -462,6 +462,9 @@ class bot(Thread): if event.eventtype() == 'nicknameinuse': connection._call_nick_callbacks('nicknameinuse') return + if event.eventtype() == 'nickcollision': + connection._call_nick_callbacks('nickcollision') + return if event.eventtype() == 'erroneusnickname': connection._call_nick_callbacks('erroneusnickname') return