aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py
index 472668a5..9f654cfc 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -375,7 +375,7 @@ class Module(ModuleManager.BaseModule):
event["stderr"].write("I'm already ignoring '%s' for %s" %
(command, str(event["server"])))
else:
- server.set_setting(setting, True)
+ event["server"].set_setting(setting, True)
event["stdout"].write("Now ignoring '%s' for %s" %
(command, str(event["server"])))