aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_announce.lua
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2012-06-12 14:29:04 +0200
committerFlorian Zeitz <florob@babelmonkeys.de>2012-06-12 14:29:04 +0200
commitf76c2aa90b3cc7ba714571448865fcb30d63ef78 (patch)
tree831327c6eef1ddd8f893c7b2d33e9cadea077afc /plugins/mod_announce.lua
parente6bf33e872084aafa5919a57cf81df6bd63e509c (diff)
downloadprosody-f76c2aa90b3cc7ba714571448865fcb30d63ef78.tar.gz
prosody-f76c2aa90b3cc7ba714571448865fcb30d63ef78.zip
mod_adhoc, mod_admin_adhoc, mod_announce: Use module:provides() to manage Ad-Hoc commands
Diffstat (limited to 'plugins/mod_announce.lua')
-rw-r--r--plugins/mod_announce.lua2
1 files changed, 1 insertions, 1 deletions
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);