From a8be0a4bbea2985224bd40b077da669373233dfd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 8 Jul 2013 23:59:51 +0100 Subject: mod_component: Local imports for some functions, including xpcall --- plugins/mod_component.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 2fde57ee..a5767c9a 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -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"; -- cgit v1.2.3