aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-15 12:09:30 +0100
committerKim Alvefur <zash@zash.se>2021-12-15 12:09:30 +0100
commitb1898099eed3dc766e4b78f490979402e4ad2d3a (patch)
tree41d92876cd44bbf3e1776d6f869ed3bb15e55082
parentc3ee82bcab05cdfc111087eec8fa7288afd13d02 (diff)
downloadprosody-b1898099eed3dc766e4b78f490979402e4ad2d3a.tar.gz
prosody-b1898099eed3dc766e4b78f490979402e4ad2d3a.zip
mod_smacks: Remove now unused variable [luacheck]
-rw-r--r--plugins/mod_smacks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua
index d9fcff76..de3d0da6 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -381,7 +381,7 @@ function handle_a(origin, stanza)
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);