changeset 2322:73fbfd1e820b

mod_compat_bind: Use non-deprecated way to access core_process_stanza (thanks Roi)
author Kim Alvefur <zash@zash.se>
date Sat, 01 Oct 2016 17:44:30 +0200 (2016-10-01)
parents d9c19ee16f2e
children 35ae59a8196d
files mod_compat_bind/mod_compat_bind.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_compat_bind/mod_compat_bind.lua	Sat Oct 01 17:20:31 2016 +0200
+++ b/mod_compat_bind/mod_compat_bind.lua	Sat Oct 01 17:44:30 2016 +0200
@@ -8,6 +8,6 @@
 module:hook("iq/host/urn:ietf:params:xml:ns:xmpp-bind:bind", function(event)
 	local fixed_stanza = st.clone(event.stanza);
 	fixed_stanza.attr.to = nil;
-	core_process_stanza(event.origin, fixed_stanza);
+	prosody.core_process_stanza(event.origin, fixed_stanza);
 	return true;
 end);