Mercurial > xib
comparison participant.py @ 117:d062efcfbe9d 0.2
minor fix
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sat, 28 Nov 2009 23:55:47 +0100 |
parents | 23416c27b592 |
children | b29fd5696a78 |
comparison
equal
deleted
inserted
replaced
116:49d305b0bd9b | 117:d062efcfbe9d |
---|---|
119 self.nickname = newnick | 119 self.nickname = newnick |
120 if isinstance(self.irc_connection, ServerConnection): | 120 if isinstance(self.irc_connection, ServerConnection): |
121 if self.irc_connection.used_by == 1: | 121 if self.irc_connection.used_by == 1: |
122 self.irc_connection.nick(newnick, callback=self._irc_nick_callback) | 122 self.irc_connection.nick(newnick, callback=self._irc_nick_callback) |
123 else: | 123 else: |
124 self._close_irc_connection(self, 'Changed nickname') | 124 self._close_irc_connection('Changed nickname') |
125 self.createDuplicateOnIRC() | 125 self.createDuplicateOnIRC() |
126 else: | 126 else: |
127 if self.irc_connection == 'both': | 127 if self.irc_connection == 'both': |
128 self.bridge.addParticipant('irc', oldnick) | 128 self.bridge.addParticipant('irc', oldnick) |
129 self.createDuplicateOnIRC() | 129 self.createDuplicateOnIRC() |