Software /
code /
prosody
Diff
core/componentmanager.lua @ 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 |
parent | 985:2ecd38c73b50 |
child | 1004:0c3ea09d6d6e |
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"