diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2012-08-02 21:42:00 +0200 |
---|---|---|
committer | Florian Zeitz <florob@babelmonkeys.de> | 2012-08-02 21:42:00 +0200 |
commit | b74d9a9691508b2ec3f6abcfc087d044815b1707 (patch) | |
tree | 9ac74878a5972405905f5df1997902e33c38003c /plugins/mod_announce.lua | |
parent | 042a2277024bf4d4746d8c32ec2661e7128c6895 (diff) | |
download | prosody-b74d9a9691508b2ec3f6abcfc087d044815b1707.tar.gz prosody-b74d9a9691508b2ec3f6abcfc087d044815b1707.zip |
mod_admin_adhoc, mod_announce: Explicitly specify possible actions for 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 0cfd284c..0872bd21 100644 --- a/plugins/mod_announce.lua +++ b/plugins/mod_announce.lua @@ -88,7 +88,7 @@ function announce_handler(self, data, state) module:log("info", "Announcement sent to %d online users", count); return { status = "completed", info = ("Announcement sent to %d online users"):format(count) }; else - return { status = "executing", form = announce_layout }, "executing"; + return { status = "executing", actions = {"next", "complete", default = "complete"}, form = announce_layout }, "executing"; end return true; |