Comparison

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
comparison
equal deleted inserted replaced
1703:a53385a78a64 1704:97291a4b17bd
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.send.filter = session.filter;
332 original_session.data.filter = session.filter;
333 original_session.stream = session.stream; 331 original_session.stream = session.stream;
334 original_session.secure = session.secure; 332 original_session.secure = session.secure;
335 original_session.hibernating = nil; 333 original_session.hibernating = nil;
336 wrap_session(original_session, true); 334 wrap_session(original_session, true);
337 -- Inform xmppstream of the new session (passed to its callbacks) 335 -- Inform xmppstream of the new session (passed to its callbacks)