From 5e043f29c714afe3d55c2ad054c865fea4afc8d4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 11 Apr 2009 23:23:35 +0100 Subject: componentmanager: Set core_route_stanza after stanza_router is loaded --- core/componentmanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/componentmanager.lua b/core/componentmanager.lua index c7d9407c..308dea57 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -33,6 +33,7 @@ require "core.discomanager".addDiscoItemsHandler("*host", function(reply, to, fr end end); +require "core.eventmanager".add_event_hook("server-starting", function () core_route_stanza = _G.core_route_stanza; end); module "componentmanager" -- cgit v1.2.3