changeset 1598:043d08448d87

mod_smacks: Remove negation of condition, most likely a leftover from debugging
author Kim Alvefur <zash@zash.se>
date Mon, 26 Jan 2015 15:44:36 +0100
parents dc0cf2ba0e1a
children 8e006226e4c5
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,