plugins/mod_uptime.lua
changeset 9575 867e40b82409
parent 9229 affd84be3fc3
child 10569 421b2f8369fd
--- 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);