Software /
code /
prosody-modules
Diff
mod_bidi/mod_bidi.lua @ 1127:38e56be11584
mod_bidi: Make sessions table weak
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 03 Aug 2013 00:53:09 +0200 |
parent | 1126:6fd328b8e136 |
child | 1128:6b344b7e4781 |
line wrap: on
line diff
--- a/mod_bidi/mod_bidi.lua Sat Aug 03 00:51:00 2013 +0200 +++ b/mod_bidi/mod_bidi.lua Sat Aug 03 00:53:09 2013 +0200 @@ -13,7 +13,7 @@ local xmlns_bidi_feature = "urn:xmpp:features:bidi" local xmlns_bidi = "urn:xmpp:bidi"; local secure_only = module:get_option_boolean("secure_bidi_only", true); -local bidi_sessions = module:shared"sessions"; +local bidi_sessions = module:shared"sessions-cache"; local function handleerr(err) log("error", "Traceback[s2s]: %s: %s", tostring(err), traceback()); end local function handlestanza(session, stanza)