From 5de616a42a623cf5c3a5d897f152da6c56801113 Mon Sep 17 00:00:00 2001 From: Thomas Omans Date: Wed, 19 Mar 2014 21:53:40 -0700 Subject: [PATCH] Allow skybot to join password protected channels This commit makes it so you can join a channel like ["#secret password-channel"] --- core/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/irc.py b/core/irc.py index a98a105..b9f898f 100644 --- a/core/irc.py +++ b/core/irc.py @@ -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])