diff options
Diffstat (limited to 'aconf/persistence/backends/files.lua')
-rw-r--r-- | aconf/persistence/backends/files.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aconf/persistence/backends/files.lua b/aconf/persistence/backends/files.lua index e19763d..1c78c80 100644 --- a/aconf/persistence/backends/files.lua +++ b/aconf/persistence/backends/files.lua @@ -29,7 +29,7 @@ local backend = require('aconf.object').class() function backend:init() self.cache = {} end function backend:get(path, top) - local name = pth.join('/', unpack(path)) + local name = pth.join('/', table.unpack(path)) if not self.cache[name] then local t = posix.stat(name, 'type') @@ -68,8 +68,8 @@ end function backend:set(mods) for _, mod in pairs(mods) do - local path, value = unpack(mod) - local name = pth.join('/', unpack(path)) + local path, value = table.unpack(mod) + local name = pth.join('/', table.unpack(path)) if value == nil then print('DEL', name) |