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
commitfaea440e51848cff1f52f469199d7cf8cbc92051 (patch)
treecb6b8bc700c6e1469c7f9fdb622b7d0bdff8511b
parentbf9705c70b9bc7dc960a9a87005dcbb08b82d5e3 (diff)
downloadprosody-faea440e51848cff1f52f469199d7cf8cbc92051.tar.gz
prosody-faea440e51848cff1f52f469199d7cf8cbc92051.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;