summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/backends/service.lua
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-15 22:59:21 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-15 22:59:21 +0300
commitd9decd5a0dd0abbe7842da4400e665d96d6b8f9b (patch)
tree27a1807e9f8d1fa69b4ba0f0a2f2b5080906a825 /aconf/persistence/backends/service.lua
parent909197f81d7cc47f6bfbaed39727c59245584bbb (diff)
downloadaconf-d9decd5a0dd0abbe7842da4400e665d96d6b8f9b.tar.bz2
aconf-d9decd5a0dd0abbe7842da4400e665d96d6b8f9b.tar.xz
use 'unpack' function from 'table' module
Diffstat (limited to 'aconf/persistence/backends/service.lua')
-rw-r--r--aconf/persistence/backends/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/aconf/persistence/backends/service.lua b/aconf/persistence/backends/service.lua
index 4569ce8..bd52d31 100644
--- a/aconf/persistence/backends/service.lua
+++ b/aconf/persistence/backends/service.lua
@@ -19,7 +19,7 @@ end
function backend:set(mods)
for _, mod in ipairs(mods) do
- local path, value = unpack(mod)
+ local path, value = table.unpack(mod)
assert(#path == 2 and path[2] == 'enabled')
local name = path[1]