# HG changeset patch # User Waqas Hussain # Date 1267895300 -18000 # Node ID 61e1203e9e66f58ad6285352b4f1d020fc808165 # Parent 34a3ec3e7dc3e1c8eb7ebed8afa83e0d6de547e4 mod_sift: Use event.session, and not event.origin in the resource-unbind handler. diff -r 34a3ec3e7dc3 -r 61e1203e9e66 mod_sift/mod_sift.lua --- a/mod_sift/mod_sift.lua Sat Mar 06 21:47:20 2010 +0500 +++ b/mod_sift/mod_sift.lua Sat Mar 06 22:08:20 2010 +0500 @@ -87,7 +87,7 @@ -- handle user disconnect module:hook("resource-unbind", function(event) - data[event.origin.full_jid] = nil; -- discard data + data[event.session.full_jid] = nil; -- discard data end); -- IQ handler