Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- a/core/sessionmanager.lua Mon Jun 27 12:02:50 2011 +0100 +++ b/core/sessionmanager.lua Mon Jun 27 14:57:31 2011 +0100 @@ -10,7 +10,7 @@ local tonumber, tostring, setmetatable = tonumber, tostring, setmetatable; local ipairs, pairs, print, next= ipairs, pairs, print, next; -local format = import("string", "format"); +local format = string.format; local hosts = hosts; local full_sessions = full_sessions;