# HG changeset patch # User Kim Alvefur # Date 1639690928 -3600 # Node ID 3099e03b10bd78c61e148ce65e11d82857d02ae8 # Parent 70a55fbe447ce683a9527f80168238476abf562e mod_smacks: Fix indentation Meld keeps messing up indentation when I merge and rebase... diff -r 70a55fbe447c -r 3099e03b10bd plugins/mod_smacks.lua --- a/plugins/mod_smacks.lua Thu Dec 16 16:02:01 2021 +0100 +++ b/plugins/mod_smacks.lua Thu Dec 16 22:42:08 2021 +0100 @@ -421,12 +421,12 @@ module:hook("pre-resource-unbind", function (event) local session = event.session; if not session.smacks then return end - if not session.resumption_token then - local queue = session.outgoing_stanza_queue; + if not session.resumption_token then + local queue = session.outgoing_stanza_queue; if queue:count_unacked() > 0 then session.log("debug", "Destroying session with %d unacked stanzas", queue:count_unacked()); - handle_unacked_stanzas(session); - end + handle_unacked_stanzas(session); + end return end