aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-20 06:42:17 +0100
committerGravatar jesopo2019-05-20 06:42:17 +0100
commit02998efc43098f7efc03a3b48623941f75b6db10 (patch)
treeaef45d6dd7a9064b33db5a48a05f5ac47b8e0de2
parenttake/return args_split from _find_command_hook, for alias replacing (diff)
signature
Actually pass args_split in to _find_command_hook
-rw-r--r--modules/commands/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py
index da07a4e4..880ea4ae 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -227,7 +227,7 @@ class Module(ModuleManager.BaseModule):
if command:
hook, args_split = self._find_command_hook(event["server"], command,
- True)
+ True, args_split)
if hook:
self.command(event["server"], event["channel"], True,
event["user"], command, args_split, event["tags"],
@@ -259,7 +259,7 @@ class Module(ModuleManager.BaseModule):
args_split = event["message_split"][1:]
hook, args_split = self._find_command_hook(event["server"], command,
- False)
+ False, args_split)
if hook:
self.command(event["server"], event["user"], False,