sessionmanager: Access bare_session and full_sessions through 'prosody'
authorMatthew Wild <mwild1@gmail.com>
Tue, 20 Jan 2015 11:31:58 +0000 (11:31 +0000)
committerMatthew Wild <mwild1@gmail.com>
Tue, 20 Jan 2015 11:31:58 +0000 (11:31 +0000)
core/sessionmanager.lua

index 65e5156cbdca694aecd2eb04a372e52d5ba5bfc7..09920b7dc1a78eaa115af8e2bdfd05f5d39f7369 100644 (file)
@@ -10,8 +10,8 @@ local tostring, setmetatable = tostring, setmetatable;
 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");