Mercurial > xib
diff participant.py @ 10:7cb790f5f243
No comment.
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 16 Aug 2009 23:35:15 +0200 |
parents | cb0daec4b778 |
children | 79b0a7f48a3e |
line wrap: on
line diff
--- a/participant.py +++ b/participant.py @@ -140,11 +140,11 @@ class participant: self.createDuplicateOnXMPP() elif self.protocol == 'both': if on_protocol == 'irc': - self.protocol = 'xmpp' - self.createDuplicateOnIRC() + self.bridge.removeParticipant('xmpp', self.nickname, '') + self.bridge.addParticipant('xmpp', newnick) elif on_protocol == 'xmpp': - self.protocol = 'irc' - self.createDuplicateOnXMPP() + self.bridge.removeParticipant('irc', self.nickname, '') + self.bridge.addParticipant('irc', newnick) def sayOnIRC(self, message):