mod_firewall: Add UNSBSCRIBE SENDER action
authorMatthew Wild <mwild1@gmail.com>
Fri, 09 Mar 2018 13:35:11 +0000
changeset 2919 b8f2e86df7ce
parent 2918 0d2d4d5bb5f5
child 2920 b1cdcbcd1c90
mod_firewall: Add UNSBSCRIBE SENDER action
mod_firewall/actions.lib.lua
--- 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;