aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-06 17:12:05 +0100
committerGravatar jesopo2019-05-06 17:12:05 +0100
commit8312efcc1c5f9326395ddc1b58e055f5c39185dc (patch)
tree911cfa9c2d5066e91f8f41bcc214a052f244835a /modules/commands
parentAdd a mechanism to ignore specific commands for a whole network (diff)
signature
Pass server param to _is_ignored
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 965518d8..472668a5 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -101,7 +101,7 @@ class Module(ModuleManager.BaseModule):
return
if self.has_command(command):
- if self._is_ignored(event["user"], command):
+ if self._is_ignored(event["server"], event["user"], command):
return
hook = None