# HG changeset patch # User Matthew Wild # Date 1373324391 -3600 # Node ID 2ecf400b194a771c8b17044f2b107e0b7de46c06 # Parent 372ecf3630cf143801c4d5df90614c1a7e985deb mod_component: Local imports for some functions, including xpcall diff -r 372ecf3630cf -r 2ecf400b194a plugins/mod_component.lua --- 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";