aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-06-27 14:57:31 +0100
committerMatthew Wild <mwild1@gmail.com>2011-06-27 14:57:31 +0100
commitd32ab3e7a86b8421f06dba544b2bde08d8768cd8 (patch)
treea10623059fa00f9618d3402f272419236d53b25c
parent47179a8bb89136d6ff2e196bc443eb50b3c0fb92 (diff)
downloadprosody-d32ab3e7a86b8421f06dba544b2bde08d8768cd8.tar.gz
prosody-d32ab3e7a86b8421f06dba544b2bde08d8768cd8.zip
sessionmanager: Remove dependency on util.import
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index e9f81d82..1de6c41a 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -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;