Software /
code /
prosody
Comparison
core/sessionmanager.lua @ 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 |
parent | 6404:938cc782c14d |
child | 6561:bae84401a02c |
comparison
equal
deleted
inserted
replaced
6550:a335d02951b3 | 6551:784fa05cf594 |
---|---|
8 | 8 |
9 local tostring, setmetatable = tostring, setmetatable; | 9 local tostring, setmetatable = tostring, setmetatable; |
10 local pairs, next= pairs, next; | 10 local pairs, next= pairs, next; |
11 | 11 |
12 local hosts = hosts; | 12 local hosts = hosts; |
13 local full_sessions = full_sessions; | 13 local full_sessions = prosody.full_sessions; |
14 local bare_sessions = bare_sessions; | 14 local bare_sessions = prosody.bare_sessions; |
15 | 15 |
16 local logger = require "util.logger"; | 16 local logger = require "util.logger"; |
17 local log = logger.init("sessionmanager"); | 17 local log = logger.init("sessionmanager"); |
18 local rm_load_roster = require "core.rostermanager".load_roster; | 18 local rm_load_roster = require "core.rostermanager".load_roster; |
19 local config_get = require "core.configmanager".get; | 19 local config_get = require "core.configmanager".get; |