comparison mod_smacks/mod_smacks.lua @ 1706:e4867211cddb

mod_smacks: Set session upvalue of filter() to correct session
author Kim Alvefur <zash@zash.se>
date Wed, 06 May 2015 01:02:00 +0200
parents 6fa220a9f36d
children 2f9ee9ed6267
comparison
equal deleted inserted replaced
1705:6fa220a9f36d 1706:e4867211cddb
326 end 326 end
327 original_session.ip = session.ip; 327 original_session.ip = session.ip;
328 original_session.conn = session.conn; 328 original_session.conn = session.conn;
329 original_session.send = session.send; 329 original_session.send = session.send;
330 original_session.filter = session.filter; 330 original_session.filter = session.filter;
331 original_session.filter.session = original_session;
331 original_session.filters = session.filters; 332 original_session.filters = session.filters;
332 original_session.stream = session.stream; 333 original_session.stream = session.stream;
333 original_session.secure = session.secure; 334 original_session.secure = session.secure;
334 original_session.hibernating = nil; 335 original_session.hibernating = nil;
335 wrap_session(original_session, true); 336 wrap_session(original_session, true);