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:
parent
ac78be39f5
commit
5de616a42a
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue