Changed join() to allow joining password protected channels
This commit is contained in:
parent
56a656f691
commit
d3c0e7440c
|
@ -188,7 +188,7 @@ class IRC(object):
|
|||
|
||||
def join(self, channel):
|
||||
""" makes the bot join a channel """
|
||||
self.cmd("JOIN", [channel])
|
||||
self.send("JOIN %s" % channel)
|
||||
if channel not in self.channels:
|
||||
self.channels.append(channel)
|
||||
|
||||
|
|
Reference in a new issue