Changeset

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
parents 6550:a335d02951b3
children 6552:bcb834728ee5
files core/sessionmanager.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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");