diff options
| author | 2018-10-03 13:22:37 +0100 | |
|---|---|---|
| committer | 2018-10-03 13:22:37 +0100 | |
| commit | 69d58eede2e9bf83aa1ed1d8fcf956efde494726 (patch) | |
| tree | 11aa30f2a357f3be23ad97315dae3df051455cbe /modules/perform.py | |
| parent | Add a way to not add a user automatically in IRCServer.get_user (diff) | |
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
Diffstat (limited to 'modules/perform.py')
| -rw-r--r-- | modules/perform.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/perform.py b/modules/perform.py index 889e8092..7bd1432f 100644 --- a/modules/perform.py +++ b/modules/perform.py @@ -1,7 +1,7 @@ -from src import EventManager, ModuleManager, Utils +from src import EventManager, ModuleManager, utils class Module(ModuleManager.BaseModule): - @Utils.hook("received.numeric.001", priority=EventManager.PRIORITY_URGENT) + @utils.hook("received.numeric.001", priority=EventManager.PRIORITY_URGENT) def on_connect(self, event): commands = event["server"].get_setting("perform", []) for i, command in enumerate(commands): |
