changeset 2559 | a9eb4d5566f3 |
parent 2558 | 19bb4606013f |
child 2567 | 2f1e25706f81 |
--- a/mod_firewall/conditions.lib.lua Thu Feb 23 14:11:31 2017 +0000 +++ b/mod_firewall/conditions.lib.lua Thu Feb 23 14:13:57 2017 +0000 @@ -267,6 +267,10 @@ return "not not session.directed[from]", { "from" }; end +function condition_handlers.TO_FULL_JID() + return "not not full_sessions[to]", { "to" }; +end + -- CHECK LIST: spammers contains $<@from> function condition_handlers.CHECK_LIST(list_condition) local list_name, expr = list_condition:match("(%S+) contains (.+)$");