aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-07-08 23:59:51 +0100
committerMatthew Wild <mwild1@gmail.com>2013-07-08 23:59:51 +0100
commite5f988639db889e64c51139464d66a309c6ae3af (patch)
treebce847ba30c61812777b9ec71e470465992884d8
parent28d49f20ab126bdbc364966403063a82cd2e939f (diff)
downloadprosody-e5f988639db889e64c51139464d66a309c6ae3af.tar.gz
prosody-e5f988639db889e64c51139464d66a309c6ae3af.zip
mod_component: Local imports for some functions, including xpcall
-rw-r--r--plugins/mod_component.lua1
1 files changed, 1 insertions, 0 deletions
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";