summaryrefslogtreecommitdiffstats
path: root/acf/modules/awall.lua
diff options
context:
space:
mode:
Diffstat (limited to 'acf/modules/awall.lua')
-rw-r--r--acf/modules/awall.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/acf/modules/awall.lua b/acf/modules/awall.lua
index 2fb912f..0b05fb4 100644
--- a/acf/modules/awall.lua
+++ b/acf/modules/awall.lua
@@ -122,8 +122,10 @@ AWall['clamp-mss'] = M.Collection{type=ClampMSSRule}
AWall['no-track'] = M.Collection{type=Rule}
AWall.ipset = M.Collection{type=IPSet}
-M.register('awall',
- '/json'..require('posix').getcwd()..'/config/awall.json',
- AWall)
+M.register(
+ 'awall',
+ AWall,
+ '/json'..require('posix').getcwd()..'/config/awall.json'
+)
M.permission.defaults('/awall')