changeset 898:4aa473216432

mod_bidi: Missing import of debug.trackeback()
author Kim Alvefur <zash@zash.se>
date Wed, 16 Jan 2013 08:33:56 +0100 (2013-01-16)
parents 844b6ef5d4c4
children 4cd018025a26
files mod_bidi/mod_bidi.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_bidi/mod_bidi.lua	Wed Jan 16 08:33:20 2013 +0100
+++ b/mod_bidi/mod_bidi.lua	Wed Jan 16 08:33:56 2013 +0100
@@ -13,6 +13,7 @@
 local xmlns_bidi = "urn:xmpp:bidi";
 local noop = function () end
 local core_process_stanza = prosody.core_process_stanza;
+local traceback = debug.traceback;
 
 local function handleerr(err) log("error", "Traceback[s2s]: %s: %s", tostring(err), traceback()); end
 local function handlestanza(session, stanza)