diff options
author | Patrick Grimm <patrick@lunatiki.de> | 2014-08-03 19:39:24 +0000 |
---|---|---|
committer | Patrick Grimm <patrick@lunatiki.de> | 2014-08-03 19:39:24 +0000 |
commit | a31e805696fad7e801a398c3c0fa645a1f922dc3 (patch) | |
tree | 4bb6e2d332d9dea4dd5ae3bfc2de1341b319c9df /modules/freifunk | |
parent | 2b43e82d6934e845062d386c62a51cb187d01d5d (diff) |
freifunk fix profile expert fs write function.
Diffstat (limited to 'modules/freifunk')
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/profile_expert.lua | 2 |
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 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 |