aboutsummaryrefslogtreecommitdiffstats
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
commit17bfb654dfe761450695a914b34f05b6716bd85f (patch)
treed7bc37853c9ea6ff217374d39cba9154b802ef0d
parenteaba58e39b083025ae4236d3ef516b59c081d326 (diff)
downloadprosody-17bfb654dfe761450695a914b34f05b6716bd85f.tar.gz
prosody-17bfb654dfe761450695a914b34f05b6716bd85f.zip
util.datamanager: Don't escape the name of a store
-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