luci-app-shadowsocks-libev: fix typo in setting ss_rules.disabled=true
authorYousong Zhou <yszhou4tech@gmail.com>
Sun, 13 Aug 2017 17:01:23 +0000 (01:01 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Sat, 19 Aug 2017 17:25:57 +0000 (01:25 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua

index 5df59cb0ad3b46685927aa37d5cd549cb33f14f1..1a3dcb88381c45546414a9e9e98319980f084f17 100644 (file)
@@ -19,7 +19,7 @@ m = Map("shadowsocks-libev",
 local sdata = m:get('ss_rules')
 if not sdata then
        m:set('ss_rules', nil, 'ss_rules')
-       m:set('ss_rules', 'ss_rules', 'disabled', true)
+       m:set('ss_rules', 'disabled', true)
 end
 
 s = m:section(NamedSection, "ss_rules", "ss_rules")