diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-11 23:23:35 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-11 23:23:35 +0100 |
commit | 5e043f29c714afe3d55c2ad054c865fea4afc8d4 (patch) | |
tree | 7d20c9f9650082b3144c88db4d96c7c13230c7e0 | |
parent | 6175b0f89e751a16adebdfd2a5b1f7152fe88b8a (diff) | |
download | prosody-5e043f29c714afe3d55c2ad054c865fea4afc8d4.tar.gz prosody-5e043f29c714afe3d55c2ad054c865fea4afc8d4.zip |
componentmanager: Set core_route_stanza after stanza_router is loaded
-rw-r--r-- | core/componentmanager.lua | 1 |
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" |