Diff

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
line wrap: on
line diff
--- a/plugins/mod_component.lua	Mon Jul 08 23:59:27 2013 +0100
+++ b/plugins/mod_component.lua	Mon Jul 08 23:59:51 2013 +0100
@@ -9,6 +9,7 @@
 module:set_global();
 
 local t_concat = table.concat;
+local xpcall, tostring, type = xpcall, tostring, type;
 local traceback = debug.traceback;
 
 local logger = require "util.logger";