aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-07-16 00:41:08 +0100
committerGravatar jesopo2018-07-16 00:41:08 +0100
commitd385d73dab8789cae966e987e3948266acba3cb2 (patch)
tree2a1134f689a2cddd2efedf8b7455cc547b8bcbf8 /modules
parentswitch to using configparser for config files (diff)
signature
use PRIORITY_URGENT in perform.py
Diffstat (limited to 'modules')
-rw-r--r--modules/perform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/perform.py b/modules/perform.py
index b446d288..65d0eb23 100644
--- a/modules/perform.py
+++ b/modules/perform.py
@@ -1,9 +1,9 @@
-
+import EventManager
class Module(object):
def __init__(self, bot):
bot.events.on("received").on("numeric").on("001").hook(
- self.on_connect)
+ self.on_connect, priority=EventManager.PRIORITY_URGENT)
def on_connect(self, event):
commands = event["server"].get_setting("perform", [])