Software /
code /
prosody
Comparison
core/sessionmanager.lua @ 1222:dd1616a81c49
sessionmanager: Removed reference to global 'sessions'
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 29 May 2009 22:56:14 +0500 |
parent | 1213:de66fa750daf |
child | 1223:9767e52f861c |
comparison
equal
deleted
inserted
replaced
1221:23c7d41ca93c | 1222:dd1616a81c49 |
---|---|
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 sessions = sessions; | |
19 | 18 |
20 local modulemanager = require "core.modulemanager"; | 19 local modulemanager = require "core.modulemanager"; |
21 local log = require "util.logger".init("sessionmanager"); | 20 local log = require "util.logger".init("sessionmanager"); |
22 local error = error; | 21 local error = error; |
23 local uuid_generate = require "util.uuid".generate; | 22 local uuid_generate = require "util.uuid".generate; |