# HG changeset patch # User Kim Alvefur <zash@zash.se> # Date 1422283476 -3600 # Node ID 043d08448d8703d2f8e2e222461bd9ea37ea05c8 # Parent dc0cf2ba0e1a42c0978a6fc8ba755383abe59613 mod_smacks: Remove negation of condition, most likely a leftover from debugging diff -r dc0cf2ba0e1a -r 043d08448d87 mod_smacks/mod_smacks.lua --- a/mod_smacks/mod_smacks.lua Mon Jan 26 15:32:19 2015 +0100 +++ b/mod_smacks/mod_smacks.lua Mon Jan 26 15:44:36 2015 +0100 @@ -266,7 +266,7 @@ -- (for example, the client may have bound a new resource and -- started a new smacks session, or not be using smacks) local curr_session = full_sessions[session.full_jid]; - if false and session.destroyed then + if session.destroyed then session.log("debug", "The session has already been destroyed"); elseif curr_session and curr_session.resumption_token == resumption_token -- Check the hibernate time still matches what we think it is,