From 1ef9002349617281dd0ea8de565ba07b0d712073 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 14 May 2012 17:58:51 +0200 Subject: prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send() --- core/stanza_router.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/stanza_router.lua') diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 50044766..6e8ac6b3 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -204,3 +204,6 @@ function core_route_stanza(origin, stanza) end end end +prosody.core_process_stanza = core_process_stanza; +prosody.core_post_stanza = core_post_stanza; +prosody.core_route_stanza = core_route_stanza; -- cgit v1.2.3