Software /
code /
prosody-modules
Changeset
2527:5ff7eb601d60
mod_firewall: Code formatting
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 20 Feb 2017 09:29:38 +0000 |
parents | 2526:b2fc41001c8e |
children | 2528:44a71584521d |
files | mod_firewall/mod_firewall.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 = {