diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2012-06-12 14:29:04 +0200 |
---|---|---|
committer | Florian Zeitz <florob@babelmonkeys.de> | 2012-06-12 14:29:04 +0200 |
commit | 67cafcb874bf19db469dea76b7e2baf597009c89 (patch) | |
tree | 831327c6eef1ddd8f893c7b2d33e9cadea077afc /plugins/mod_announce.lua | |
parent | 3cf0d1871139e98e655705b2dc91f8771f43e171 (diff) | |
download | prosody-67cafcb874bf19db469dea76b7e2baf597009c89.tar.gz prosody-67cafcb874bf19db469dea76b7e2baf597009c89.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.lua | 2 |
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); |