tBKwtWS 6 gadi atpakaļ
vecāks
revīzija
3c97abff41
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      rotbot/events/on_welcome.py

+ 1 - 1
rotbot/events/on_welcome.py

@@ -10,7 +10,7 @@ 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(self.xbot = 'x@xhannels.%s' % '.'.join(event.source.split('.')[-2:]))
+        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.
             connection.privmsg(self.xbot, 'LOGIN %s %s' % (self.network.nickname, self.network.password))   # Identify with X.