aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-15 12:37:43 +0000
committerGravatar jesopo2019-11-15 12:37:43 +0000
commit64ab4ca1a199cbfb6784b0bc6b869c59f5f643b4 (patch)
tree1b9f57d445c3698b2caddb02182a58b830129ec7
parentupdated CHANGELOG.md (diff)
signature
we should be passing `args` in to _find_command_hook, not `args_split`
-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 118bf826..ea136536 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -357,7 +357,7 @@ class Module(ModuleManager.BaseModule):
try:
hook, command, args_split = self._find_command_hook(
- event["server"], command, False, args_split)
+ event["server"], command, False, args)
except BadContextException:
event["user"].send_message(
"That command is not valid in a PM")