diff --git a/modules/line_handler.py b/modules/line_handler.py index fee71be1..eaca23ce 100644 --- a/modules/line_handler.py +++ b/modules/line_handler.py @@ -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)