Changeset

8680:1cc9a293e958

mod_announce: Remove unreachable return statement [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 23 Mar 2018 14:01:42 +0100
parents 8679:adc17a2bd6fd
children 8681:0c077800cd70
files plugins/mod_announce.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
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;