typo, 'server.get_settings' -> 'server.get_setting' (resume.py)

This commit is contained in:
jesopo 2019-02-16 15:53:59 +00:00
parent faf2401069
commit 92349ad696

View file

@ -63,7 +63,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("self.join") @utils.hook("self.join")
def on_join(self, event): def on_join(self, event):
resume_channels = event["server"].get_settings("resume-channels", []) resume_channels = event["server"].get_setting("resume-channels", [])
channel_name = event["server"].irc_lower(event["channel"].name) channel_name = event["server"].irc_lower(event["channel"].name)
if not channel_name in resume_channels: if not channel_name in resume_channels:
resume_channels.append(channel_name) resume_channels.append(channel_name)