Comparison

mod_firewall/conditions.lib.lua @ 3982:ab065ff4628b

mod_firewall: Remove trailing whitespace
author Kim Alvefur <zash@zash.se>
date Sun, 19 Apr 2020 23:38:39 +0200
parent 3973:df6227e288e5
child 4608:4e8fa75cc678
comparison
equal deleted inserted replaced
3981:7e8f2e36419d 3982:ab065ff4628b
123 { "rostermanager", "split_to", "bare_to", "bare_from" }; 123 { "rostermanager", "split_to", "bare_to", "bare_from" };
124 end 124 end
125 125
126 function condition_handlers.PENDING_SUBSCRIPTION_FROM_SENDER() 126 function condition_handlers.PENDING_SUBSCRIPTION_FROM_SENDER()
127 return "(bare_to == bare_from or to_node and rostermanager.is_contact_pending_in(to_node, to_host, bare_from))", 127 return "(bare_to == bare_from or to_node and rostermanager.is_contact_pending_in(to_node, to_host, bare_from))",
128 { "rostermanager", "split_to", "bare_to", "bare_from" }; 128 { "rostermanager", "split_to", "bare_to", "bare_from" };
129 end 129 end
130 130
131 function condition_handlers.PAYLOAD(payload_ns) 131 function condition_handlers.PAYLOAD(payload_ns)
132 return ("stanza:get_child(nil, %q)"):format(payload_ns); 132 return ("stanza:get_child(nil, %q)"):format(payload_ns);
133 end 133 end