Software /
code /
prosody
Changeset
5250:6d8ec8c90240
util.datamanager: Don't escape the name of a store
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 16 Dec 2012 14:36:24 +0100 |
parents | 5248:13553f4132a8 |
children | 5251:80cb52150773 5252:6209b9a0244b |
files | util/datamanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/datamanager.lua Sun Dec 16 08:34:50 2012 +0100 +++ b/util/datamanager.lua Sun Dec 16 14:36:24 2012 +0100 @@ -281,7 +281,7 @@ 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