Changeset

1637:ad6694f7b13c

mod_smacks: Don't restore filters from original session after resumption, use new filters
author Matthew Wild <mwild1@gmail.com>
date Sat, 21 Mar 2015 10:12:23 +0000
parents 1626:aed20f9e78c8
children 1640:1d96629f5dda
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Mon Mar 16 16:19:53 2015 +0100
+++ b/mod_smacks/mod_smacks.lua	Sat Mar 21 10:12:23 2015 +0000
@@ -315,7 +315,9 @@
 		original_session.ip = session.ip;
 		original_session.conn = session.conn;
 		original_session.send = session.send;
-		original_session.send.filter = original_session.filter;
+		original_session.filter = session.filter;
+		original_session.send.filter = session.filter;
+		original_session.data.filter = session.filter;
 		original_session.stream = session.stream;
 		original_session.secure = session.secure;
 		original_session.hibernating = nil;