aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-12-20 17:36:38 +0000
committerMatthew Wild <mwild1@gmail.com>2011-12-20 17:36:38 +0000
commitf5b0bf49fd4c6cc8ca82e356332620e9eb50cfb0 (patch)
tree683e9d16697404151fe8e4c6917dd1fa02321d5e /core
parentd9a74e419644cd8caa619cc7f544256ce1ca9008 (diff)
downloadprosody-f5b0bf49fd4c6cc8ca82e356332620e9eb50cfb0.tar.gz
prosody-f5b0bf49fd4c6cc8ca82e356332620e9eb50cfb0.zip
s2smanager: Fix missing import of 'type' (thanks darkrain)
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 240b9ba8..f44921c3 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -16,8 +16,8 @@ local socket = require "socket";
local format = string.format;
local t_insert, t_sort = table.insert, table.sort;
local get_traceback = debug.traceback;
-local tostring, pairs, ipairs, getmetatable, newproxy, next, error, tonumber, setmetatable
- = tostring, pairs, ipairs, getmetatable, newproxy, next, error, tonumber, setmetatable;
+local tostring, pairs, ipairs, getmetatable, newproxy, type, error, tonumber, setmetatable
+ = tostring, pairs, ipairs, getmetatable, newproxy, type, error, tonumber, setmetatable;
local idna_to_ascii = require "util.encodings".idna.to_ascii;
local connlisteners_get = require "net.connlisteners".get;