changeset 587:322a14acd974

mod_smacks: Add log message on resume
author Matthew Wild <mwild1@gmail.com>
date Mon, 30 Jan 2012 04:15:58 +0000
parents f733e7599ed6
children 8042558336b6
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Sun Jan 29 20:34:14 2012 +0000
+++ b/mod_smacks/mod_smacks.lua	Mon Jan 30 04:15:58 2012 +0000
@@ -222,6 +222,7 @@
 		);
 	elseif session.username == original_session.username
 	and session.host == original_session.host then
+		session.log("debug", "mod_smacks resuming existing session...");
 		-- TODO: All this should move to sessionmanager (e.g. session:replace(new_session))
 		original_session.ip = session.ip;
 		original_session.conn = session.conn;