Diff

core/stanza_router.lua @ 4877:6f5b53cb3565

prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send()
author Kim Alvefur <zash@zash.se>
date Mon, 14 May 2012 17:58:51 +0200
parent 4867:b4219d987d05
child 4918:98a8db95de8c
line wrap: on
line diff
--- a/core/stanza_router.lua	Sun May 13 22:58:25 2012 +0100
+++ b/core/stanza_router.lua	Mon May 14 17:58:51 2012 +0200
@@ -204,3 +204,6 @@
 		end
 	end
 end
+prosody.core_process_stanza = core_process_stanza;
+prosody.core_post_stanza = core_post_stanza;
+prosody.core_route_stanza = core_route_stanza;