--- a/mod_firewall/mod_firewall.lua Mon Feb 20 09:29:25 2017 +0000
+++ b/mod_firewall/mod_firewall.lua Mon Feb 20 09:29:38 2017 +0000
@@ -8,7 +8,7 @@
ZONE = {
-- Default zone that includes all local hosts
["$local"] = setmetatable({}, { __index = prosody.hosts });
- }
+ };
};
local default_chains = {
@@ -44,7 +44,7 @@
-- Returns the input if it is safe to be used as a variable name, otherwise nil
function idsafe(name)
- return name:match("^%a[%w_]*$")
+ return name:match("^%a[%w_]*$");
end
local meta_funcs = {