Skip to content

Commit

Permalink
Don't discard empty command args for !hash
Browse files Browse the repository at this point in the history
  • Loading branch information
jesopo committed Jun 23, 2019
1 parent 4efbbbc commit 78be79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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
Expand Down

0 comments on commit 78be79b

Please sign in to comment.