aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-23 14:01:42 +0100
committerKim Alvefur <zash@zash.se>2018-03-23 14:01:42 +0100
commit5303e726055769fcced5afb1b5ef7eff4b31a704 (patch)
treecb6b8bc700c6e1469c7f9fdb622b7d0bdff8511b
parentf92ac105217bda954ee20e7e64d0bef473b4da55 (diff)
downloadprosody-5303e726055769fcced5afb1b5ef7eff4b31a704.tar.gz
prosody-5303e726055769fcced5afb1b5ef7eff4b31a704.zip
mod_announce: Remove unreachable return statement [luacheck]
-rw-r--r--plugins/mod_announce.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_announce.lua b/plugins/mod_announce.lua
index 9327556c..ee3bb5b7 100644
--- a/plugins/mod_announce.lua
+++ b/plugins/mod_announce.lua
@@ -91,8 +91,6 @@ function announce_handler(self, data, state)
else
return { status = "executing", actions = {"next", "complete", default = "complete"}, form = announce_layout }, "executing";
end
-
- return true;
end
local adhoc_new = module:require "adhoc".new;