tBKwtWS há 6 anos atrás
pai
commit
23792a0b16
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      rotbot/events/on_welcome.py

+ 1 - 1
rotbot/events/on_welcome.py

@@ -10,9 +10,9 @@ def process_event(self, connection, event):
         if self.network.password:   # Password saved.
             connection.privmsg("NickServ", "identify " + self.network.password) # Identify with NickServ.
     if network_services == 'x': # X bot.
-        print('x@xhannels.%s' % '.'.join(event.source.split('.')[-2:]))
         self.xbot = 'x@xhannels.%s' % '.'.join(event.source.split('.')[-2:])
         if self.network.password:   # Password saved.
+            print(self.xbot + ' LOGIN %s %s' % (self.network.nickname, self.network.password))
             connection.privmsg(self.xbot, 'LOGIN %s %s' % (self.network.nickname, self.network.password))   # Identify with X.
 
     connection.mode(connection.get_nickname(), "-x")