From ae78324c4442fcd193c44b5be4f093eb9fed0099 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 10 Sep 2018 08:58:15 +0100 Subject: [PATCH] Typo, event["server"] -> server --- modules/channel_save.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/channel_save.py b/modules/channel_save.py index 58770625..004461d6 100644 --- a/modules/channel_save.py +++ b/modules/channel_save.py @@ -34,7 +34,7 @@ class Module(object): channels = server.get_setting("autojoin", []) if channel_name in channels: channels.remove(channel_name) - event["server"].set_setting("autojoin", channels) + server.set_setting("autojoin", channels) def self_part(self, event): self._remove_channel(event["server"], event["channel"].name)