diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-16 22:42:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-16 22:42:08 +0100 |
commit | d87188b309934c4afc1c478f63cf6d309d511651 (patch) | |
tree | 5ece01fcea4ce3da4d48adc2df44d02f147873a0 | |
parent | d73f3bee876e8e4551fcb16e7a2f0404d5857e46 (diff) | |
download | prosody-d87188b309934c4afc1c478f63cf6d309d511651.tar.gz prosody-d87188b309934c4afc1c478f63cf6d309d511651.zip |
mod_smacks: Fix indentation
Meld keeps messing up indentation when I merge and rebase...
-rw-r--r-- | plugins/mod_smacks.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua index 246d1a53..7a0b608b 100644 --- a/plugins/mod_smacks.lua +++ b/plugins/mod_smacks.lua @@ -421,12 +421,12 @@ end); 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 |