Software /
code /
prosody
Changeset
8960:9d0d1e427b82
mod_announce: Depend on mod_adhoc for consistent behaviour (thanks meaz, Link Mauve)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 02 Jul 2018 23:41:36 +0200 |
parents | 8959:ab18a9a9fd48 |
children | 8961:5d4ebceaf8aa |
files | plugins/mod_announce.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_announce.lua Mon Jul 02 11:31:47 2018 +0200 +++ b/plugins/mod_announce.lua Mon Jul 02 23:41:36 2018 +0200 @@ -93,6 +93,7 @@ end end +module:depends "adhoc"; 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:provides("adhoc", announce_desc);