aboutsummaryrefslogtreecommitdiffstats
path: root/core/storagemanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r--core/storagemanager.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index c93438af..0aac947d 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -12,6 +12,7 @@ local log = require "util.logger".init("storagemanager");
local prosody = prosody;
local _ENV = nil;
+-- luacheck: std none
local olddm = {}; -- maintain old datamanager, for backwards compatibility
for k,v in pairs(datamanager) do olddm[k] = v; end
@@ -137,7 +138,7 @@ local map_shim_mt = {
};
}
-local open;
+local open; -- forward declaration
local function create_map_shim(host, store)
local keyval_store, err = open(host, store, "keyval");