author | Matthew Wild <mwild1@gmail.com> |
Thu, 23 Feb 2017 14:13:57 +0000 | |
changeset 2559 | a9eb4d5566f3 |
parent 2558 | 19bb4606013f |
child 2560 | cc01a5bfcf3b |
--- 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 (.+)$");