Diff

core/s2smanager.lua @ 4461:a81d045e7d16

s2smanager: Fix missing import of 'type' (thanks darkrain)
author Matthew Wild <mwild1@gmail.com>
date Tue, 20 Dec 2011 17:36:38 +0000
parent 4458:9f6c68cb3fbd
child 4494:694491140a67
child 4555:3dce04129693
line wrap: on
line diff
--- a/core/s2smanager.lua	Fri Dec 16 16:01:59 2011 +0000
+++ b/core/s2smanager.lua	Tue Dec 20 17:36:38 2011 +0000
@@ -16,8 +16,8 @@
 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;