protocols/core: fix bad .write() invocation in luci.tools.proto
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Aug 2012 15:48:57 +0000 (15:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Aug 2012 15:48:57 +0000 (15:48 +0000)
protocols/core/luasrc/tools/proto.lua

index 740cf94..4df0269 100644 (file)
@@ -41,6 +41,6 @@ function opt_macaddr(s, ifc, ...)
        end
 
        function o.remove(self, section)
        end
 
        function o.remove(self, section)
-               self:write(self, section, nil)
+               self:write(section, nil)
        end
 end
        end
 end