From 78be79b5655fb7008ef867767c746587e9a67058 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 23 Jun 2019 12:14:06 +0100 Subject: Don't discard empty command args for !hash --- modules/hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/hash.py') diff --git a/modules/hash.py b/modules/hash.py index 08458666..f3c46d67 100644 --- a/modules/hash.py +++ b/modules/hash.py @@ -4,7 +4,7 @@ import hashlib from src import ModuleManager, utils class Module(ModuleManager.BaseModule): - @utils.hook("received.command.hash", min_args=2) + @utils.hook("received.command.hash", min_args=2, remove_empty=False) def hash(self, event): """ :help: Hash a given string with a given algorithm -- cgit v1.3.1-10-gc9f91