From 67cafcb874bf19db469dea76b7e2baf597009c89 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Tue, 12 Jun 2012 14:29:04 +0200 Subject: mod_adhoc, mod_admin_adhoc, mod_announce: Use module:provides() to manage Ad-Hoc commands --- plugins/mod_announce.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_announce.lua') diff --git a/plugins/mod_announce.lua b/plugins/mod_announce.lua index 77555bec..99fbae50 100644 --- a/plugins/mod_announce.lua +++ b/plugins/mod_announce.lua @@ -96,5 +96,5 @@ end local adhoc_new = module:require "adhoc".new; local announce_desc = adhoc_new("Send Announcement to Online Users", "http://jabber.org/protocol/admin#announce", announce_handler, "admin"); -module:add_item("adhoc", announce_desc); +module:provides("adhoc", announce_desc); -- cgit v1.2.3