Typo in channel_save; channes -> channels

This commit is contained in:
jesopo 2018-09-05 13:55:53 +01:00
parent da5b2f5eb1
commit 07c08ad428

View file

@ -33,7 +33,7 @@ class Module(object):
def _remove_channel(self, server, channel_name): def _remove_channel(self, server, channel_name):
channels = server.get_setting("autojoin", []) channels = server.get_setting("autojoin", [])
if channel_name in channels: if channel_name in channels:
channes.remove(channel_name) channels.remove(channel_name)
event["server"].set_setting("autojoin", channels) event["server"].set_setting("autojoin", channels)
def self_part(self, event): def self_part(self, event):