diff options
author | Kim Alvefur <zash@zash.se> | 2019-01-04 13:38:30 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-01-04 13:38:30 +0100 |
commit | 1271c21c89d544ad3d34526f9317c952092c0658 (patch) | |
tree | 929e86db091471e56587d941d8f454a147a9ddf4 /plugins | |
parent | 76f85eb776b39feeb37c8dd276fcd9eaf6c722c7 (diff) | |
download | prosody-1271c21c89d544ad3d34526f9317c952092c0658.tar.gz prosody-1271c21c89d544ad3d34526f9317c952092c0658.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.lua | 4 |
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() |