Software /
code /
prosody-modules
Changeset
1255:3c35283b6780
mod_component_roundrobin: Make sessions a shared table, like mod_component
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 19 Dec 2013 14:59:09 +0100 |
parents | 1254:b0136968bef1 |
children | 1256:ab80da799edf |
files | mod_component_roundrobin/mod_component_roundrobin.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_component_roundrobin/mod_component_roundrobin.lua Thu Dec 19 08:54:33 2013 -0500 +++ b/mod_component_roundrobin/mod_component_roundrobin.lua Thu Dec 19 14:59:09 2013 +0100 @@ -19,7 +19,7 @@ local log = module._log; -local sessions = {}; +local sessions = module:shared("sessions"); local last_session; local function on_destroy(session, err)