Diff

core/sessionmanager.lua @ 6551:784fa05cf594

sessionmanager: Access bare_session and full_sessions through 'prosody'
author Matthew Wild <mwild1@gmail.com>
date Tue, 20 Jan 2015 11:31:58 +0000
parent 6404:938cc782c14d
child 6561:bae84401a02c
line wrap: on
line diff
--- a/core/sessionmanager.lua	Tue Jan 20 11:31:30 2015 +0000
+++ b/core/sessionmanager.lua	Tue Jan 20 11:31:58 2015 +0000
@@ -10,8 +10,8 @@
 local pairs, next= pairs, next;
 
 local hosts = hosts;
-local full_sessions = full_sessions;
-local bare_sessions = bare_sessions;
+local full_sessions = prosody.full_sessions;
+local bare_sessions = prosody.bare_sessions;
 
 local logger = require "util.logger";
 local log = logger.init("sessionmanager");