Comparison

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
comparison
equal deleted inserted replaced
4460:a813a130cede 4461:a81d045e7d16
14 local add_task = require "util.timer".add_task; 14 local add_task = require "util.timer".add_task;
15 local socket = require "socket"; 15 local socket = require "socket";
16 local format = string.format; 16 local format = string.format;
17 local t_insert, t_sort = table.insert, table.sort; 17 local t_insert, t_sort = table.insert, table.sort;
18 local get_traceback = debug.traceback; 18 local get_traceback = debug.traceback;
19 local tostring, pairs, ipairs, getmetatable, newproxy, next, error, tonumber, setmetatable 19 local tostring, pairs, ipairs, getmetatable, newproxy, type, error, tonumber, setmetatable
20 = tostring, pairs, ipairs, getmetatable, newproxy, next, error, tonumber, setmetatable; 20 = tostring, pairs, ipairs, getmetatable, newproxy, type, error, tonumber, setmetatable;
21 21
22 local idna_to_ascii = require "util.encodings".idna.to_ascii; 22 local idna_to_ascii = require "util.encodings".idna.to_ascii;
23 local connlisteners_get = require "net.connlisteners".get; 23 local connlisteners_get = require "net.connlisteners".get;
24 local initialize_filters = require "util.filters".initialize; 24 local initialize_filters = require "util.filters".initialize;
25 local wrapclient = require "net.server".wrapclient; 25 local wrapclient = require "net.server".wrapclient;