typo, 'server.get_settings' -> 'server.get_setting' (resume.py)
This commit is contained in:
parent
faf2401069
commit
92349ad696
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
@utils.hook("self.join")
|
||||
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)
|
||||
if not channel_name in resume_channels:
|
||||
resume_channels.append(channel_name)
|
||||
|
|
Loading…
Reference in a new issue