summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/backends
diff options
context:
space:
mode:
Diffstat (limited to 'aconf/persistence/backends')
-rw-r--r--aconf/persistence/backends/null.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/aconf/persistence/backends/null.lua b/aconf/persistence/backends/null.lua
index 770e5e8..5210c92 100644
--- a/aconf/persistence/backends/null.lua
+++ b/aconf/persistence/backends/null.lua
@@ -4,7 +4,7 @@ See LICENSE file for license details
--]]
local backend = require('aconf.object').class()
-function backend:get(path, top) if #path == 0 then return {} end end
+function backend:get(path, top) return #path == 0 and {} or nil, 0 end
function backend:set(mods) end
return backend