aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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 07b02257..8b5779e6 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -190,7 +190,7 @@ class Module(ModuleManager.BaseModule):
if quiet_method in QUIET_METHODS:
return QUIET_METHODS[quiet_method]
- elif mute_method == "none":
+ elif quiet_method == "none":
return None
else:
raise ValueError("Unknown mute-method '%s'" % mute_method)