Mercurial > prosody-modules
changeset 899:4cd018025a26
mod_bidi: Work with 0.8
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 16 Jan 2013 08:35:13 +0100 |
parents | 4aa473216432 |
children | aca1c5eb0508 |
files | mod_bidi/mod_bidi.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_bidi/mod_bidi.lua Wed Jan 16 08:33:56 2013 +0100 +++ b/mod_bidi/mod_bidi.lua Wed Jan 16 08:35:13 2013 +0100 @@ -12,7 +12,7 @@ local xmlns_bidi_feature = "urn:xmpp:features:bidi" local xmlns_bidi = "urn:xmpp:bidi"; local noop = function () end -local core_process_stanza = prosody.core_process_stanza; +local core_process_stanza = prosody.core_process_stanza or core_process_stanza; local traceback = debug.traceback; local function handleerr(err) log("error", "Traceback[s2s]: %s: %s", tostring(err), traceback()); end