Software /
code /
prosody
Diff
plugins/mod_announce.lua @ 8680:1cc9a293e958
mod_announce: Remove unreachable return statement [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Mar 2018 14:01:42 +0100 |
parent | 5776:bd0ff8ae98a8 |
child | 8960:9d0d1e427b82 |
line wrap: on
line diff
--- a/plugins/mod_announce.lua Fri Mar 23 13:20:19 2018 +0100 +++ b/plugins/mod_announce.lua Fri Mar 23 14:01:42 2018 +0100 @@ -91,8 +91,6 @@ else return { status = "executing", actions = {"next", "complete", default = "complete"}, form = announce_layout }, "executing"; end - - return true; end local adhoc_new = module:require "adhoc".new;