Software /
code /
prosody
Changeset
4325:fb35ccf391af
sessionmanager: Remove dependency on util.import
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 27 Jun 2011 14:57:31 +0100 |
parents | 4324:5e7cba840409 |
children | 4326:6c082bf9bf0f |
files | core/sessionmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;