aboutsummaryrefslogtreecommitdiff
path: root/modules/perform.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-16 15:53:14 +0000
committerGravatar jesopo2019-02-16 15:53:14 +0000
commitfaf240106907782dd3771af30eaf08dbc0b9af45 (patch)
treeee028ee382c8c025350f1a2b7439c266ddd1ee66 /modules/perform.py
parentKeep a track of channels we're in, in case we RESUME and need to get channel (diff)
signature
'received.numeric.###' -> 'received.###' throughout project
Diffstat (limited to 'modules/perform.py')
-rw-r--r--modules/perform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/perform.py b/modules/perform.py
index cfae1d47..95e4dcc8 100644
--- a/modules/perform.py
+++ b/modules/perform.py
@@ -1,7 +1,7 @@
from src import EventManager, ModuleManager, utils
class Module(ModuleManager.BaseModule):
- @utils.hook("received.numeric.001", priority=EventManager.PRIORITY_URGENT)
+ @utils.hook("received.001", priority=EventManager.PRIORITY_URGENT)
def on_connect(self, event):
commands = event["server"].get_setting("perform", [])
for i, command in enumerate(commands):