mod_compat_bind: Use non-deprecated way to access core_process_stanza (thanks Roi)
--- 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);