From cc178c841d16885327c99547ccd02947db1d19c5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 26 Jan 2020 16:10:30 +0000 Subject: [PATCH] `event` doesn't exist in _quiet_method() --- modules/channel_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/channel_op.py b/modules/channel_op.py index 4bba6d4c..bbc7d012 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -199,7 +199,7 @@ class Module(ModuleManager.BaseModule): self._quiet(event["server"], False, event["spec"]) def _quiet(self, server, add, spec): - quiet_method = self._quiet_method(event["server"]) + quiet_method = self._quiet_method(server) if quiet_method == None: raise utils.EventError(NO_QUIETS)