aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-12-16 14:36:24 +0100
committerKim Alvefur <zash@zash.se>2012-12-16 14:36:24 +0100
commit82a91911a2ebdb29bb2d2c156e05502c49fe3c77 (patch)
treed7bc37853c9ea6ff217374d39cba9154b802ef0d /util/datamanager.lua
parentcf3f554dbc9cba6b90f60e9334f581d602e0d4df (diff)
downloadprosody-82a91911a2ebdb29bb2d2c156e05502c49fe3c77.tar.gz
prosody-82a91911a2ebdb29bb2d2c156e05502c49fe3c77.zip
util.datamanager: Don't escape the name of a store
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 b70ad931..383e738f 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -281,7 +281,7 @@ local type_map = {
function users(host, store, typ)
typ = type_map[typ or "keyval"];
- local store_dir = format("%s/%s/%s", data_path, encode(host), encode(store));
+ local store_dir = format("%s/%s/%s", data_path, encode(host), store);
local mode, err = lfs.attributes(store_dir, "mode");
if not mode then