aboutsummaryrefslogtreecommitdiffstats
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
commit7171a0296426097f8529b207fc990c7fcdd36727 (patch)
tree9f212f6bb485ac58f067b1882618b5e63b3e5edb
parent8803cf988cefb61e28d0dbe1c0f84b0c1a0374b1 (diff)
downloadprosody-7171a0296426097f8529b207fc990c7fcdd36727.tar.gz
prosody-7171a0296426097f8529b207fc990c7fcdd36727.zip
sessionmanager: Access bare_session and full_sessions through 'prosody'
-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");