comparison mod_firewall/conditions.lib.lua @ 2125:edf5cf3c474b

mod_firewall: Move meta() function to main module, and make it a global so libs can use it
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Mar 2016 21:29:07 +0000
parents 5f6c18fd0161
children 59023dffbdd4
comparison
equal deleted inserted replaced
2124:89363766202c 2125:edf5cf3c474b
1 --luacheck: globals meta idsafe
1 local condition_handlers = {}; 2 local condition_handlers = {};
2 3
3 local jid = require "util.jid"; 4 local jid = require "util.jid";
4 5
5 -- Return a code string for a condition that checks whether the contents 6 -- Return a code string for a condition that checks whether the contents