aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-23 12:14:06 +0100
committerGravatar jesopo2019-06-23 12:14:06 +0100
commit78be79b5655fb7008ef867767c746587e9a67058 (patch)
treee7bc84f811911e2bd16bf3ccede9eeae2c08c87e /modules
parentUpdate CHANGELOG.md (diff)
signature
Don't discard empty command args for !hash
Diffstat (limited to 'modules')
-rw-r--r--modules/hash.py2
1 files changed, 1 insertions, 1 deletions
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