Browse Source

removed bachir from auto hello

Bachir Soussi Chiadmi 6 years ago
parent
commit
1a81730af6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cedbot_muc.py

+ 1 - 1
cedbot_muc.py

@@ -161,7 +161,7 @@ class MUCBot(sleekxmpp.ClientXMPP):
                         documentation for the Presence stanza
                         to see how else it may be used.
         """
-        if presence['muc']['nick'] != self.nick:
+        if presence['muc']['nick'] != self.nick and presence['muc']['nick'] != 'bachir':
             f = presence['from'].bare
             print('------ from : %s' % f)
             self.send_msg(f, 'Salut {0}'.format(presence['muc']['nick']))