From 6156a086d28b64aa2c90294ebedfbfba79311cb3 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 27 Oct 2018 17:36:51 +0200 Subject: mod_ping, mod_uptime: Use module:provides --- plugins/mod_uptime.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_uptime.lua') diff --git a/plugins/mod_uptime.lua b/plugins/mod_uptime.lua index 24985ef1..ccd8e511 100644 --- a/plugins/mod_uptime.lua +++ b/plugins/mod_uptime.lua @@ -44,4 +44,4 @@ end local descriptor = adhoc_new("Get uptime", "uptime", uptime_command_handler); -module:add_item ("adhoc", descriptor); +module:provides("adhoc", descriptor); -- cgit v1.2.3