Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 9753:3a14815f5430
mod_admin_telnet: Remove the long gone 'section' argument in the undocumented config:get command
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 Jan 2019 13:38:30 +0100 |
parent | 9748:99199b53019f |
child | 9754:cbbc6fefd07d |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Fri Jan 04 10:14:55 2019 +0100 +++ b/plugins/mod_admin_telnet.lua Fri Jan 04 13:38:30 2019 +0100 @@ -495,9 +495,9 @@ 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()