summaryrefslogtreecommitdiffhomepage
path: root/protocols/core/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-19 15:48:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-19 15:48:57 +0000
commitadedd765d4919c753017a1292d3dd1d522fe745f (patch)
tree0bfbc5635b6d76396186cfe79411d664071f481e /protocols/core/luasrc
parent696414337982aeab21e63870dadb6e677c4f3e8b (diff)
protocols/core: fix bad .write() invocation in luci.tools.proto
Diffstat (limited to 'protocols/core/luasrc')
-rw-r--r--protocols/core/luasrc/tools/proto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/core/luasrc/tools/proto.lua b/protocols/core/luasrc/tools/proto.lua
index 740cf94b7..4df02696b 100644
--- a/protocols/core/luasrc/tools/proto.lua
+++ b/protocols/core/luasrc/tools/proto.lua
@@ -41,6 +41,6 @@ function opt_macaddr(s, ifc, ...)
end
function o.remove(self, section)
- self:write(self, section, nil)
+ self:write(section, nil)
end
end