Mercurial > prosody-modules
diff mod_firewall/definitions.lib.lua @ 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 | 44a71584521d |
children | 2ddb74805f91 |
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);