diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-07-08 23:59:51 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-07-08 23:59:51 +0100 |
commit | 435fa06770d6f2e5281b6257d1348845fda8ef80 (patch) | |
tree | bce847ba30c61812777b9ec71e470465992884d8 /plugins/mod_component.lua | |
parent | 2311bcac399df83960edba0a54d422770f4c1b44 (diff) | |
download | prosody-435fa06770d6f2e5281b6257d1348845fda8ef80.tar.gz prosody-435fa06770d6f2e5281b6257d1348845fda8ef80.zip |
mod_component: Local imports for some functions, including xpcall
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 1 |
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"; |