aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
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
commit2e7d2a24ce7d5561ccee42fbe327cf73967e00d4 (patch)
tree67a1669e2224732aec7e22389585c0d104ad1748 /util/datamanager.lua
parentd6c4bffd9b35ee768711e57c986435bdca4d87cf (diff)
downloadprosody-2e7d2a24ce7d5561ccee42fbe327cf73967e00d4.tar.gz
prosody-2e7d2a24ce7d5561ccee42fbe327cf73967e00d4.zip
util.datamanager: expose path decode and encode functions.
Diffstat (limited to 'util/datamanager.lua')
-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;