aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-11 23:23:35 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-11 23:23:35 +0100
commit5e043f29c714afe3d55c2ad054c865fea4afc8d4 (patch)
tree7d20c9f9650082b3144c88db4d96c7c13230c7e0 /core
parent6175b0f89e751a16adebdfd2a5b1f7152fe88b8a (diff)
downloadprosody-5e043f29c714afe3d55c2ad054c865fea4afc8d4.tar.gz
prosody-5e043f29c714afe3d55c2ad054c865fea4afc8d4.zip
componentmanager: Set core_route_stanza after stanza_router is loaded
Diffstat (limited to 'core')
-rw-r--r--core/componentmanager.lua1
1 files changed, 1 insertions, 0 deletions
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"