From f05fc209b015e9d883566fc8cc4141dc9eff4db3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 14 Jun 2019 12:01:55 +0100 Subject: Add a way to __or__ `utils.Check`s, as a "if one of these passes" thing --- modules/check_mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/check_mode.py') 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]) -- cgit v1.3.1-10-gc9f91