Software /
code /
prosody
Comparison
core/sessionmanager.lua @ 1223:9767e52f861c
sessionmanager: Added reference to globals full_sessions and bare_sessions
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 29 May 2009 23:01:05 +0500 |
parent | 1222:dd1616a81c49 |
child | 1224:35fa588e43a6 |
comparison
equal
deleted
inserted
replaced
1222:dd1616a81c49 | 1223:9767e52f861c |
---|---|
13 local collectgarbage = collectgarbage; | 13 local collectgarbage = collectgarbage; |
14 local m_random = import("math", "random"); | 14 local m_random = import("math", "random"); |
15 local format = import("string", "format"); | 15 local format = import("string", "format"); |
16 | 16 |
17 local hosts = hosts; | 17 local hosts = hosts; |
18 local full_sessions = full_sessions; | |
19 local bare_sessions = bare_sessions; | |
18 | 20 |
19 local modulemanager = require "core.modulemanager"; | 21 local modulemanager = require "core.modulemanager"; |
20 local log = require "util.logger".init("sessionmanager"); | 22 local log = require "util.logger".init("sessionmanager"); |
21 local error = error; | 23 local error = error; |
22 local uuid_generate = require "util.uuid".generate; | 24 local uuid_generate = require "util.uuid".generate; |