We should be checking if a channel name is in server.channels, not server
This commit is contained in:
parent
8d8ebf7d55
commit
41d680dad7
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ class Module(ModuleManager.BaseModule):
|
|||
def handle_477(self, event):
|
||||
channel_name = utils.irc.lower(event["server"].case_mapping,
|
||||
event["args"][1])
|
||||
if channel_name in event["server"]:
|
||||
if channel_name in event["server"].channels:
|
||||
key = event["server"].attempted_join[channel_name]
|
||||
self.timers.add("rejoin", 5, channel_name=channe_name, key=key,
|
||||
server_id=event["server"].id)
|
||||
|
|
Loading…
Reference in a new issue