aboutsummaryrefslogtreecommitdiffstats
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
commit4f549454ef721f2e89b1b2edcc271d7f233740c5 (patch)
tree737f4c4bdab67b70d379f85dea1170448b118367
parent22096b6f3fbf804690d218a26a26a9b287e1ba06 (diff)
downloadprosody-4f549454ef721f2e89b1b2edcc271d7f233740c5.tar.gz
prosody-4f549454ef721f2e89b1b2edcc271d7f233740c5.zip
configmanager: Remove unnecessary function localizations [luacheck]
-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;