Don't discard empty command args for !hash
This commit is contained in:
parent
4efbbbce9d
commit
78be79b565
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import hashlib
|
||||||
from src import ModuleManager, utils
|
from src import ModuleManager, utils
|
||||||
|
|
||||||
class Module(ModuleManager.BaseModule):
|
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):
|
def hash(self, event):
|
||||||
"""
|
"""
|
||||||
:help: Hash a given string with a given algorithm
|
:help: Hash a given string with a given algorithm
|
||||||
|
|
Loading…
Reference in a new issue