Changeset

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
parents 9752:5cc2765c3ce4
children 9754:cbbc6fefd07d
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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()