Changeset

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 2543:3c16f0a8d66c
children 2545:9b46d24edf0d
files mod_firewall/mod_firewall.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;]];
 	};