Closed GoogleCodeExporter closed 9 years ago
For completeness, here is a diff of my changes:
diff -r 25be5fde250f mod_privacy_lists/mod_privacy_lists.lua
--- a/mod_privacy_lists/mod_privacy_lists.lua Sun Aug 10 13:08:56 2014 +0100
+++ b/mod_privacy_lists/mod_privacy_lists.lua Thu Aug 14 22:29:17 2014 +0200
@@ -341,6 +341,7 @@
) then
apply = true;
end
+ module:log("debug", "pl type %s value %s action %s",
tostring(item.type), tostring(item.value), tostring(item.action));
if apply then
local evilJid = {};
apply = false;
@@ -358,6 +359,7 @@
(evilJid.host and item.value == evilJid.host) then
apply = true;
block = (item.action == "deny");
+ module:log("debug", "pl jid action %s value
%s", item.action, item.value);
elseif item.type == "group" then
local roster = load_roster(session.username, session.host);
local roster_entry = roster[jid_join(evilJid.node, evilJid.host)];
@@ -384,6 +386,7 @@
block = (item.action == "deny");
end
end
+ module:log("debug", "pl item apply %s block %s",
tostring(apply), tostring(block));
if apply then
if block then
-- drop and not bounce groupchat messages, otherwise users will get kicked
Original comment by fschm...@gmail.com
on 14 Aug 2014 at 8:30
This issue was closed by revision 5410f5c30d63.
Original comment by MWild1
on 16 Aug 2014 at 4:55
Original issue reported on code.google.com by
fschm...@gmail.com
on 14 Aug 2014 at 8:12