sessionmanager: Access bare_session and full_sessions through 'prosody'
authorMatthew Wild <mwild1@gmail.com>
Tue, 20 Jan 2015 11:31:58 +0000
changeset 6554 784fa05cf594
parent 6553 a335d02951b3
child 6555 bcb834728ee5
sessionmanager: Access bare_session and full_sessions through 'prosody'
core/sessionmanager.lua
--- 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");