comparison mod_firewall/definitions.lib.lua @ 1863:92602cfac751

mod_firewall: Fix missing import of util.set (used to be global)
author Kim Alvefur <zash@zash.se>
date Fri, 18 Sep 2015 15:27:53 +0200
parents 197af8440ffb
children edec9de0220a
comparison
equal deleted inserted replaced
1862:3aabb670239d 1863:92602cfac751
1 1
2 local definition_handlers = {}; 2 local definition_handlers = {};
3 3
4 local set = require"util.set";
4 local new_throttle = require "util.throttle".create; 5 local new_throttle = require "util.throttle".create;
5 6
6 function definition_handlers.ZONE(zone_name, zone_members) 7 function definition_handlers.ZONE(zone_name, zone_members)
7 local zone_member_list = {}; 8 local zone_member_list = {};
8 for member in zone_members:gmatch("[^, ]+") do 9 for member in zone_members:gmatch("[^, ]+") do