Allow skybot to join password protected channels

This commit makes it so you can join a channel like ["#secret password-channel"]
This commit is contained in:
Thomas Omans 2014-03-19 21:53:40 -07:00 committed by Ryan Hitchman
parent ac78be39f5
commit 5de616a42a
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class IRC(object):
self.cmd("NICK", [nick])
def join(self, channel):
self.cmd("JOIN", [channel])
self.cmd("JOIN", channel.split(" ")) # [chan, password]
def msg(self, target, text):
self.cmd("PRIVMSG", [target, text])