projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f076bbd
)
mod_component: Local imports for some functions, including xpcall
author
Matthew Wild
<mwild1@gmail.com>
Mon, 8 Jul 2013 22:59:51 +0000
(23:59 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Mon, 8 Jul 2013 22:59:51 +0000
(23:59 +0100)
plugins/mod_component.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_component.lua
b/plugins/mod_component.lua
index 2fde57ee1610fac7b521b65635178896529ecccb..a5767c9a33039ed0653266d2714630dcbbd93041 100644
(file)
--- 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";