comparison 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
comparison
equal deleted inserted replaced
2543:3c16f0a8d66c 2544:223eea31588d
135 -- end 135 -- end
136 -- end 136 -- end
137 137
138 local available_deps = { 138 local available_deps = {
139 st = { global_code = [[local st = require "util.stanza";]]}; 139 st = { global_code = [[local st = require "util.stanza";]]};
140 it = { global_code = [[local it = require "util.iterators";]]};
141 it_count = { global_code = [[local it_count = it.count;]], depends = { "it" } };
140 jid_split = { 142 jid_split = {
141 global_code = [[local jid_split = require "util.jid".split;]]; 143 global_code = [[local jid_split = require "util.jid".split;]];
142 }; 144 };
143 jid_bare = { 145 jid_bare = {
144 global_code = [[local jid_bare = require "util.jid".bare;]]; 146 global_code = [[local jid_bare = require "util.jid".bare;]];