Changeset

12050:7b87a1747eb2

mod_smacks: Remove now unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 15 Dec 2021 12:09:30 +0100
parents 12049:7dde1edaf067
children 12051:c32ef09ab452
files plugins/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_smacks.lua	Wed Dec 15 12:06:58 2021 +0100
+++ b/plugins/mod_smacks.lua	Wed Dec 15 12:09:30 2021 +0100
@@ -381,7 +381,7 @@
 	end
 
 	for _=1,math_min(handled_stanza_count,#queue) do
-		local handled_stanza = t_remove(origin.outgoing_stanza_queue, 1);
+		t_remove(origin.outgoing_stanza_queue, 1);
 	end
 
 	origin.log("debug", "#queue = %d", #queue);