changeset 1704:97291a4b17bd

mod_smacks: Don't touch upvalues of session.send and session.data, they should already point to the correct values
author Kim Alvefur <zash@zash.se>
date Wed, 06 May 2015 01:00:50 +0200
parents a53385a78a64
children 6fa220a9f36d
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Wed May 06 00:58:55 2015 +0200
+++ b/mod_smacks/mod_smacks.lua	Wed May 06 01:00:50 2015 +0200
@@ -328,8 +328,6 @@
 		original_session.conn = session.conn;
 		original_session.send = session.send;
 		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;