From 02998efc43098f7efc03a3b48623941f75b6db10 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 20 May 2019 06:42:17 +0100 Subject: Actually pass args_split in to _find_command_hook --- modules/commands/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands') 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, -- cgit v1.3.1-10-gc9f91