# HG changeset patch # User Kim Alvefur # Date 1475336670 -7200 # Node ID 73fbfd1e820b457b3b6d8f3706da36a2ee653f22 # Parent d9c19ee16f2ec83b09a5f47eb2a20c4b501015fe mod_compat_bind: Use non-deprecated way to access core_process_stanza (thanks Roi) diff -r d9c19ee16f2e -r 73fbfd1e820b mod_compat_bind/mod_compat_bind.lua --- 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);