Mercurial > prosody-modules
diff mod_smacks/mod_smacks.lua @ 1637:ad6694f7b13c
mod_smacks: Don't restore filters from original session after resumption, use new filters
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 21 Mar 2015 10:12:23 +0000 |
parents | 8e006226e4c5 |
children | 5f5ff061b316 |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Mon Mar 16 16:19:53 2015 +0100 +++ b/mod_smacks/mod_smacks.lua Sat Mar 21 10:12:23 2015 +0000 @@ -315,7 +315,9 @@ original_session.ip = session.ip; original_session.conn = session.conn; original_session.send = session.send; - original_session.send.filter = original_session.filter; + 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;