From a31e805696fad7e801a398c3c0fa645a1f922dc3 Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Sun, 3 Aug 2014 19:39:24 +0000 Subject: [PATCH] freifunk fix profile expert fs write function. --- modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua b/modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua index a0b8f34bc9..0d890e1df6 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 -- 2.30.2