summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua b/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua
index a0b8f34bc..0d890e1df 100644
--- a/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua
+++ b/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua
@@ -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