comparison 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
comparison
equal deleted inserted replaced
63:71508f22edb4 64:8fc496eaa17b
460 # Nickname callbacks 460 # Nickname callbacks
461 # TODO: move this into irclib.py 461 # TODO: move this into irclib.py
462 if event.eventtype() == 'nicknameinuse': 462 if event.eventtype() == 'nicknameinuse':
463 connection._call_nick_callbacks('nicknameinuse') 463 connection._call_nick_callbacks('nicknameinuse')
464 return 464 return
465 if event.eventtype() == 'nickcollision':
466 connection._call_nick_callbacks('nickcollision')
467 return
465 if event.eventtype() == 'erroneusnickname': 468 if event.eventtype() == 'erroneusnickname':
466 connection._call_nick_callbacks('erroneusnickname') 469 connection._call_nick_callbacks('erroneusnickname')
467 return 470 return
468 471
469 472