# HG changeset patch # User Matthew Wild # Date 1324402598 0 # Node ID a81d045e7d16af731b24c58581e8df6236a3ff28 # Parent a813a130cede27a9038d2f5ee654989b5cd693d7 s2smanager: Fix missing import of 'type' (thanks darkrain) diff -r a813a130cede -r a81d045e7d16 core/s2smanager.lua --- 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;