changeset 2530:84e103fd8039

mod_firewall: Add dummy add/remove methods for HTTP lists
author Matthew Wild <mwild1@gmail.com>
date Mon, 20 Feb 2017 09:47:40 +0000
parents 3fe4ca2b55c2
children 9d2bfff515b8
files mod_firewall/definitions.lib.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_firewall/definitions.lib.lua	Mon Feb 20 09:32:48 2017 +0000
+++ b/mod_firewall/definitions.lib.lua	Mon Feb 20 09:47:40 2017 +0000
@@ -128,6 +128,10 @@
 			end
 			update_list();
 		end;
+		add = function ()
+		end;
+		remove = function ()
+		end;
 		contains = function (self, item)
 			if self.hash_function then
 				item = self.hash_function(item);