aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-26 16:10:30 +0000
committerGravatar jesopo2020-01-26 16:10:30 +0000
commitcc178c841d16885327c99547ccd02947db1d19c5 (patch)
tree364da4102ac6a0cce75bde4c7cd4bec4e740b792
parentwe should be checking if there are no flags specified (diff)
signature
`event` doesn't exist in _quiet_method()
-rw-r--r--modules/channel_op.py2
1 files changed, 1 insertions, 1 deletions
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)