aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-01-20 11:31:58 +0000
committerMatthew Wild <mwild1@gmail.com>2015-01-20 11:31:58 +0000
commit79dfda0f225e20597c97f5b22c2547ecd5a2b6ec (patch)
tree9f212f6bb485ac58f067b1882618b5e63b3e5edb /core
parent7ebf4fa4c28fb0cda37c4ce62100bb59f102d185 (diff)
downloadprosody-79dfda0f225e20597c97f5b22c2547ecd5a2b6ec.tar.gz
prosody-79dfda0f225e20597c97f5b22c2547ecd5a2b6ec.zip
sessionmanager: Access bare_session and full_sessions through 'prosody'
Diffstat (limited to 'core')
-rw-r--r--core/sessionmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 65e5156c..09920b7d 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -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");