Changeset

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
parents 5727:372ecf3630cf
children 5729:8de1f9290588 5730:411e9e7d8035
files plugins/mod_component.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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";