Software /
code /
prosody
Comparison
core/sessionmanager.lua @ 4325:fb35ccf391af
sessionmanager: Remove dependency on util.import
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 27 Jun 2011 14:57:31 +0100 |
parent | 4263:618e2a2b2d2c |
child | 4456:2724bc4c9dff |
comparison
equal
deleted
inserted
replaced
4324:5e7cba840409 | 4325:fb35ccf391af |
---|---|
8 | 8 |
9 | 9 |
10 | 10 |
11 local tonumber, tostring, setmetatable = tonumber, tostring, setmetatable; | 11 local tonumber, tostring, setmetatable = tonumber, tostring, setmetatable; |
12 local ipairs, pairs, print, next= ipairs, pairs, print, next; | 12 local ipairs, pairs, print, next= ipairs, pairs, print, next; |
13 local format = import("string", "format"); | 13 local format = string.format; |
14 | 14 |
15 local hosts = hosts; | 15 local hosts = hosts; |
16 local full_sessions = full_sessions; | 16 local full_sessions = full_sessions; |
17 local bare_sessions = bare_sessions; | 17 local bare_sessions = bare_sessions; |
18 | 18 |