Comparison

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
comparison
equal deleted inserted replaced
4876:fa41d05ee7ef 4877:6f5b53cb3565
202 core_route_stanza(host_session, st.error_reply(stanza, "cancel", "not-allowed", "Communication with remote domains is not enabled")); 202 core_route_stanza(host_session, st.error_reply(stanza, "cancel", "not-allowed", "Communication with remote domains is not enabled"));
203 end 203 end
204 end 204 end
205 end 205 end
206 end 206 end
207 prosody.core_process_stanza = core_process_stanza;
208 prosody.core_post_stanza = core_post_stanza;
209 prosody.core_route_stanza = core_route_stanza;