Diff

mod_smacks/mod_smacks.lua @ 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
parent 1703:a53385a78a64
child 1705:6fa220a9f36d
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;