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
commit2ffa0eecf38d4588ba81a9869582830b0838db1f (patch)
tree683e9d16697404151fe8e4c6917dd1fa02321d5e /core
parent445a8774513e0c6319b0e41c29e1d4ce11983f1e (diff)
downloadprosody-2ffa0eecf38d4588ba81a9869582830b0838db1f.tar.gz
prosody-2ffa0eecf38d4588ba81a9869582830b0838db1f.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;