aboutsummaryrefslogtreecommitdiff
path: root/modules/check_mode.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-14 12:01:55 +0100
committerGravatar jesopo2019-06-14 12:01:55 +0100
commitf05fc209b015e9d883566fc8cc4141dc9eff4db3 (patch)
tree599c4bb8f31e22af304c3b8f20977738b9b55649 /modules/check_mode.py
parentCatch `yield`s in command callbacks for e.g. permission checks (diff)
signature
Add a way to __or__ `utils.Check`s, as a "if one of these passes" thing
Diffstat (limited to 'modules/check_mode.py')
-rw-r--r--modules/check_mode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/check_mode.py b/modules/check_mode.py
index add90cc8..f3d3edb5 100644
--- a/modules/check_mode.py
+++ b/modules/check_mode.py
@@ -34,4 +34,4 @@ class Module(ModuleManager.BaseModule):
@utils.hook("check.command.channel-mode")
def check_command(self, event):
- return self._check_command(event, event["check_args"][0])
+ return self._check_command(event, event["request_args"][0])