# HG changeset patch # User Charly COSTE # Date 1251544510 -7200 # Node ID 624c086b0a02307c5eb570051241510ab83bef4b # Parent d8941159fd44c665868d025d7828bc640282fc0c Don't create an XMPP duplicate for ChanServ Signed-off-by: Charly COSTE diff --git a/participant.py b/participant.py --- 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)