diff mod_firewall/actions.lib.lua @ 2915:b8f2e86df7ce

mod_firewall: Add UNSBSCRIBE SENDER action
author Matthew Wild <mwild1@gmail.com>
date Fri, 09 Mar 2018 13:35:11 +0000
parents 165d2877eeac
children 0fb95dc11bc8
line wrap: on
line diff
--- a/mod_firewall/actions.lib.lua	Wed Mar 07 22:21:43 2018 +0100
+++ b/mod_firewall/actions.lib.lua	Fri Mar 09 13:35:11 2018 +0000
@@ -228,4 +228,9 @@
 	return ("list_%s:add(%s);"):format(list_name, value), { "list:"..list_name, unpack(meta_deps) };
 end
 
+function action_handlers.UNSUBSCRIBE_SENDER()
+	return "rostermanager.unsubscribed(to_node, to_host, bare_from)",
+	       { "rostermanager", "split_to", "bare_to", "bare_from" };
+end
+
 return action_handlers;