freifunk fix profile expert fs write function.

This commit is contained in:
Patrick Grimm 2014-08-03 19:39:24 +00:00
parent 2b43e82d69
commit a31e805696

View file

@ -31,7 +31,7 @@ else
function f.handle(self, state, data)
if state == FORM_VALID then
if data.cop then
fs.writefile(cop, data.rcs:gsub("\r\n", "\n"))
fs.writefile(community, data.cop:gsub("\r\n", "\n"))
end
end
return true