Software /
code /
prosody-modules
Changeset
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 | 1705:6fa220a9f36d |
children | 1725:d85d5b0bf977 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Wed May 06 01:01:18 2015 +0200 +++ b/mod_smacks/mod_smacks.lua Wed May 06 01:02:00 2015 +0200 @@ -328,6 +328,7 @@ original_session.conn = session.conn; original_session.send = session.send; original_session.filter = session.filter; + original_session.filter.session = original_session; original_session.filters = session.filters; original_session.stream = session.stream; original_session.secure = session.secure;