aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/adhoc/mod_adhoc.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/adhoc/mod_adhoc.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/adhoc/mod_adhoc.lua')
-rw-r--r--plugins/adhoc/mod_adhoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/adhoc/mod_adhoc.lua b/plugins/adhoc/mod_adhoc.lua
index 49d07103..69b2c8da 100644
--- a/plugins/adhoc/mod_adhoc.lua
+++ b/plugins/adhoc/mod_adhoc.lua
@@ -100,3 +100,4 @@ local function adhoc_removed(event)
end
module:handle_items("adhoc", adhoc_added, adhoc_removed);
+module:handle_items("adhoc-provider", adhoc_added, adhoc_removed);