diff options
| author | 2019-11-15 12:37:43 +0000 | |
|---|---|---|
| committer | 2019-11-15 12:37:43 +0000 | |
| commit | 64ab4ca1a199cbfb6784b0bc6b869c59f5f643b4 (patch) | |
| tree | 1b9f57d445c3698b2caddb02182a58b830129ec7 | |
| parent | updated CHANGELOG.md (diff) | |
| signature | ||
we should be passing `args` in to _find_command_hook, not `args_split`
| -rw-r--r-- | modules/commands/__init__.py | 2 |
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") |
