aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-05-14 17:58:51 +0200
committerKim Alvefur <zash@zash.se>2012-05-14 17:58:51 +0200
commitf1e8114ae5277835cf1bc980d20fb71197ab536b (patch)
treef1a21a2f0d1c4c04aacb1665e81cf4acbef9f351 /core
parent51f7f168c1e2e90b67ce0c2d0c610ac57127d38c (diff)
downloadprosody-f1e8114ae5277835cf1bc980d20fb71197ab536b.tar.gz
prosody-f1e8114ae5277835cf1bc980d20fb71197ab536b.zip
prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send()
Diffstat (limited to 'core')
-rw-r--r--core/stanza_router.lua3
1 files changed, 3 insertions, 0 deletions
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;