aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-04 13:38:30 +0100
committerKim Alvefur <zash@zash.se>2019-01-04 13:38:30 +0100
commit11b2a79872902ae26905c006a2171aaecbcb4300 (patch)
tree929e86db091471e56587d941d8f454a147a9ddf4 /plugins
parent3738686f06f0156da85df269050f3f754c7603cd (diff)
downloadprosody-11b2a79872902ae26905c006a2171aaecbcb4300.tar.gz
prosody-11b2a79872902ae26905c006a2171aaecbcb4300.zip
mod_admin_telnet: Remove the long gone 'section' argument in the undocumented config:get command
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_telnet.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 5bb9361e..4c049b95 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -495,9 +495,9 @@ function def_env.config:load(filename, format)
return true, "Config loaded";
end
-function def_env.config:get(host, section, key)
+function def_env.config:get(host, key)
local config_get = require "core.configmanager".get
- return true, tostring(config_get(host, section, key));
+ return true, tostring(config_get(host, key));
end
function def_env.config:reload()