From 253204250600bc0d58f60f7b69f717c58d2dfe94 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 5 May 2018 13:05:43 -0700 Subject: [PATCH] services_support: raise endburst handler priority Other plugins may implement endburst handlers assuming that their service bots have already been created. --- coremods/service_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coremods/service_support.py b/coremods/service_support.py index 92332fc..707f9fe 100644 --- a/coremods/service_support.py +++ b/coremods/service_support.py @@ -98,7 +98,7 @@ def handle_endburst(irc, source, command, args): for name, sbot in world.services.items(): spawn_service(irc, source, command, {'name': name}) -utils.add_hook(handle_endburst, 'ENDBURST') +utils.add_hook(handle_endburst, 'ENDBURST', priority=500) def handle_kill(irc, source, command, args): """Handle KILLs to PyLink service bots, respawning them as needed."""