# HG changeset patch # User Matthew Wild # Date 1264734397 0 # Node ID f28fbc93eb540a5f114c02347ea0646c82147ed9 # Parent a4f9ed3f912e19873812ea0c88528356fb34b844 Backed out changeset a4f9ed3f912e (you didn't see this) diff -r a4f9ed3f912e -r f28fbc93eb54 plugins/mod_privacy.lua --- a/plugins/mod_privacy.lua Fri Jan 29 02:49:34 2010 +0000 +++ b/plugins/mod_privacy.lua Fri Jan 29 03:06:37 2010 +0000 @@ -415,7 +415,7 @@ (stanza.name == "message" and item.message) or (stanza.name == "iq" and item.iq) or (stanza.name == "presence" and jid_bare(stanza.attr.to) == bare_jid and item["presence-in"]) or - (stanza.name == "presence" and not stanza.attr.from or not stanza.attr.to or jid_bare(stanza.attr.from) == bare_jid and item["presence-out"]) or + (stanza.name == "presence" and not stanza.attr.from or jid_bare(stanza.attr.from) == bare_jid and item["presence-out"]) or (item.message == false and item.iq == false and item["presence-in"] == false and item["presence-out"] == false) ) then apply = true;