diff options
-rw-r--r-- | plugins/mod_privacy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_privacy.lua b/plugins/mod_privacy.lua index 7f1bc438..006a13d4 100644 --- a/plugins/mod_privacy.lua +++ b/plugins/mod_privacy.lua @@ -416,7 +416,7 @@ function checkIfNeedToBeBlocked(e, session) (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 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-in"] == false) + (item.message == false and item.iq == false and item["presence-in"] == false and item["presence-out"] == false) ) then apply = true; end |