aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMarco Cirillo <maranda@lightwitch.org>2013-04-07 16:56:49 +0000
committerMarco Cirillo <maranda@lightwitch.org>2013-04-07 16:56:49 +0000
commit190ca51b563bef31dc671943543bb332b4a48422 (patch)
tree67a1669e2224732aec7e22389585c0d104ad1748 /util
parentc35e7caa9fca47fa9daa73a0012cd296cd28b641 (diff)
downloadprosody-190ca51b563bef31dc671943543bb332b4a48422.tar.gz
prosody-190ca51b563bef31dc671943543bb332b4a48422.zip
util.datamanager: expose path decode and encode functions.
Diffstat (limited to 'util')
-rw-r--r--util/datamanager.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 383e738f..9f29458c 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -354,4 +354,6 @@ function purge(username, host)
return #errs == 0, t_concat(errs, ", ");
end
+_M.path_decode = decode;
+_M.path_encode = encode;
return _M;