From 64ab4ca1a199cbfb6784b0bc6b869c59f5f643b4 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 15 Nov 2019 12:37:43 +0000 Subject: [PATCH] we should be passing `args` in to _find_command_hook, not `args_split` --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")