aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-02-24 23:33:53 +0100
committerKim Alvefur <zash@zash.se>2020-02-24 23:33:53 +0100
commit9a83f0e20bc0873067795672558fd078b64028c8 (patch)
tree9f4e055282a28c537f8075059da4d559d67eb580 /util/datamanager.lua
parent522e9778eaf37c99ef15cdebdeee58cedfa5af5c (diff)
parentd8fda82e404abc5895fdf682ce50671771df069d (diff)
downloadprosody-9a83f0e20bc0873067795672558fd078b64028c8.tar.gz
prosody-9a83f0e20bc0873067795672558fd078b64028c8.zip
Merge 0.11->trunk
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 1c578fee..26dede08 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -321,7 +321,7 @@ local type_map = {
local function users(host, store, typ) -- luacheck: ignore 431/store
typ = type_map[typ or "keyval"];
- local store_dir = format("%s/%s/%s", data_path, encode(host), store);
+ local store_dir = format("%s/%s/%s", data_path, encode(host), store_encode(store));
local mode, err = lfs.attributes(store_dir, "mode");
if not mode then