diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-02 23:41:36 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-02 23:41:36 +0200 |
commit | 908099c06a1c4cd1555c2c19c6c8651f86b7fea7 (patch) | |
tree | 5f7ac341b46e652fb92a56efa0a8c6c42bee4c53 | |
parent | 9094288efa4ca5b2f3e7ff98842c0b0bc149c786 (diff) | |
download | prosody-908099c06a1c4cd1555c2c19c6c8651f86b7fea7.tar.gz prosody-908099c06a1c4cd1555c2c19c6c8651f86b7fea7.zip |
mod_announce: Depend on mod_adhoc for consistent behaviour (thanks meaz, Link Mauve)
-rw-r--r-- | plugins/mod_announce.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_announce.lua b/plugins/mod_announce.lua index ee3bb5b7..fc4eea6f 100644 --- a/plugins/mod_announce.lua +++ b/plugins/mod_announce.lua @@ -93,6 +93,7 @@ function announce_handler(self, data, state) 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); |