Mercurial > xib
changeset 61:624c086b0a02
Don't create an XMPP duplicate for ChanServ
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sat, 29 Aug 2009 13:15:10 +0200 |
parents | d8941159fd44 |
children | 61491895c607 |
files | participant.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/participant.py +++ b/participant.py @@ -41,7 +41,7 @@ class participant: def createDuplicateOnXMPP(self): - if self.xmpp_c != None or self.irc_connection != None or self.bridge.mode == 'minimal': + if self.xmpp_c != None or self.irc_connection != None or self.bridge.mode == 'minimal' or self.nickname == 'ChanServ': return self.xmpp_c = self.bridge.bot.get_xmpp_connection(self.nickname) self.muc = xmpp.muc(self.bridge.xmpp_room.room_jid)