Fix bot.py again
This commit is contained in:
parent
fdc1c085f0
commit
bc41d2f935
|
@ -28,7 +28,7 @@ class TeamBot(irc.bot.SingleServerIRCBot):
|
|||
# @param event The welcome event. Unused.
|
||||
def on_welcome(self, conn, event):
|
||||
for channel in self.chanlist:
|
||||
c.join(channel)
|
||||
conn.join(channel)
|
||||
self.conn = conn
|
||||
|
||||
## Called when a message is sent in a public channel.
|
||||
|
|
Reference in New Issue