aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-18 19:05:08 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-18 19:05:08 +0100
commit9dcab343823a51f6a4bd56eb3d69de21f79a9aae (patch)
tree737f4c4bdab67b70d379f85dea1170448b118367 /core/configmanager.lua
parentc9c311b940c4d17cf3d2794323d0788cfd1e07da (diff)
downloadprosody-9dcab343823a51f6a4bd56eb3d69de21f79a9aae.tar.gz
prosody-9dcab343823a51f6a4bd56eb3d69de21f79a9aae.zip
configmanager: Remove unnecessary function localizations [luacheck]
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r--core/configmanager.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index 91e7b22c..4d772f67 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -119,8 +119,7 @@ end
-- Built-in Lua parser
do
- local pcall, setmetatable = _G.pcall, _G.setmetatable;
- local rawget = _G.rawget;
+ local pcall = _G.pcall;
parsers.lua = {};
function parsers.lua.load(data, config_file, config)
local env;