# HG changeset patch # User Kim Alvefur # Date 1546605510 -3600 # Node ID 3a14815f54304ba553dec41e4d47538f24c01122 # Parent 5cc2765c3ce4bce830010a86f7aeea7e103dc741 mod_admin_telnet: Remove the long gone 'section' argument in the undocumented config:get command diff -r 5cc2765c3ce4 -r 3a14815f5430 plugins/mod_admin_telnet.lua --- 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()