Mercurial > prosody-modules
diff mod_firewall/mod_firewall.lua @ 2544:223eea31588d
mod_firewall: Add it(erators) and it_count dependencies
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 Feb 2017 22:41:40 +0000 |
parents | 3c16f0a8d66c |
children | 6e4494772328 |
line wrap: on
line diff
--- a/mod_firewall/mod_firewall.lua Tue Feb 21 22:41:08 2017 +0000 +++ b/mod_firewall/mod_firewall.lua Tue Feb 21 22:41:40 2017 +0000 @@ -137,6 +137,8 @@ local available_deps = { st = { global_code = [[local st = require "util.stanza";]]}; + it = { global_code = [[local it = require "util.iterators";]]}; + it_count = { global_code = [[local it_count = it.count;]], depends = { "it" } }; jid_split = { global_code = [[local jid_split = require "util.jid".split;]]; };