Comparison

plugins/mod_admin_telnet.lua @ 10790:ee2f8ee319ea

mod_admin_telnet: Add a TODO for someone to find in the future
author Kim Alvefur <zash@zash.se>
date Wed, 29 Apr 2020 22:59:01 +0200
parent 10789:e7eb33a5f8d9
child 10791:f46c5e3c97ee
comparison
equal deleted inserted replaced
10789:e7eb33a5f8d9 10790:ee2f8ee319ea
301 elseif section == "xmpp" then 301 elseif section == "xmpp" then
302 print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]] 302 print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]]
303 elseif section == "config" then 303 elseif section == "config" then
304 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] 304 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]]
305 print [[config:get([host,] option) - Show the value of a config option.]] 305 print [[config:get([host,] option) - Show the value of a config option.]]
306 elseif section == "stats" then -- TODO describe how this works
306 elseif section == "debug" then 307 elseif section == "debug" then
307 print [[debug:logevents(host) - Enable logging of fired events on host]] 308 print [[debug:logevents(host) - Enable logging of fired events on host]]
308 print [[debug:events(host, event) - Show registered event handlers]] 309 print [[debug:events(host, event) - Show registered event handlers]]
309 print [[debug:timers() - Show information about scheduled timers]] 310 print [[debug:timers() - Show information about scheduled timers]]
310 elseif section == "console" then 311 elseif section == "console" then