Mercurial > xib
comparison irclib.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 | 75604669fcd9 |
comparison
equal
deleted
inserted
replaced
63:71508f22edb4 | 64:8fc496eaa17b |
---|---|
492 | 492 |
493 def add_nick_callback(self, callback): | 493 def add_nick_callback(self, callback): |
494 self.nick_callbacks.append(callback) | 494 self.nick_callbacks.append(callback) |
495 | 495 |
496 | 496 |
497 def close(self, message, volontary=False): | 497 def close(self, message, volontary=True): |
498 """Close the connection. | 498 """Close the connection. |
499 | 499 |
500 This method closes the connection permanently; after it has | 500 This method closes the connection permanently; after it has |
501 been called, the object is unusable. | 501 been called, the object is unusable. |
502 """ | 502 """ |