aboutsummaryrefslogtreecommitdiff
path: root/modules/hash.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-03 13:22:37 +0100
committerGravatar jesopo2018-10-03 13:22:37 +0100
commit69d58eede2e9bf83aa1ed1d8fcf956efde494726 (patch)
tree11aa30f2a357f3be23ad97315dae3df051455cbe /modules/hash.py
parentAdd a way to not add a user automatically in IRCServer.get_user (diff)
signature
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
Diffstat (limited to 'modules/hash.py')
-rw-r--r--modules/hash.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hash.py b/modules/hash.py
index 04b2f99c..ba206105 100644
--- a/modules/hash.py
+++ b/modules/hash.py
@@ -1,8 +1,8 @@
import hashlib
-from src import ModuleManager, Utils
+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)
def hash(self, event):
"""
:help: Hash a given string with a given algorithm