aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/adhoc
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
commit67cafcb874bf19db469dea76b7e2baf597009c89 (patch)
tree831327c6eef1ddd8f893c7b2d33e9cadea077afc /plugins/adhoc
parent3cf0d1871139e98e655705b2dc91f8771f43e171 (diff)
downloadprosody-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/adhoc')
-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);