Changeset

986:ebd94ad97b75

componentmanager: Set core_route_stanza after stanza_router is loaded
author Matthew Wild <mwild1@gmail.com>
date Sat, 11 Apr 2009 23:23:35 +0100
parents 985:2ecd38c73b50
children 987:d55ec60331e7
files core/componentmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/componentmanager.lua	Sat Apr 11 23:15:04 2009 +0100
+++ b/core/componentmanager.lua	Sat Apr 11 23:23:35 2009 +0100
@@ -33,6 +33,7 @@
 	end
 end);
 
+require "core.eventmanager".add_event_hook("server-starting", function () core_route_stanza = _G.core_route_stanza; end);
 
 module "componentmanager"