Comparison

plugins/mod_component.lua @ 5728:2ecf400b194a

mod_component: Local imports for some functions, including xpcall
author Matthew Wild <mwild1@gmail.com>
date Mon, 08 Jul 2013 23:59:51 +0100
parent 5724:a49f32e3d73b
child 5776:bd0ff8ae98a8
child 5952:31b800964dfb
comparison
equal deleted inserted replaced
5727:372ecf3630cf 5728:2ecf400b194a
7 -- 7 --
8 8
9 module:set_global(); 9 module:set_global();
10 10
11 local t_concat = table.concat; 11 local t_concat = table.concat;
12 local xpcall, tostring, type = xpcall, tostring, type;
12 local traceback = debug.traceback; 13 local traceback = debug.traceback;
13 14
14 local logger = require "util.logger"; 15 local logger = require "util.logger";
15 local sha1 = require "util.hashes".sha1; 16 local sha1 = require "util.hashes".sha1;
16 local st = require "util.stanza"; 17 local st = require "util.stanza";