--- a/plugins/mod_uptime.lua Sat Oct 27 17:25:50 2018 +0200
+++ b/plugins/mod_uptime.lua Sat Oct 27 17:36:51 2018 +0200
@@ -44,4 +44,4 @@
local descriptor = adhoc_new("Get uptime", "uptime", uptime_command_handler);
-module:add_item ("adhoc", descriptor);
+module:provides("adhoc", descriptor);