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
commit98d807f5b6963c688656cc598bca6ea396e2029f (patch)
tree67a1669e2224732aec7e22389585c0d104ad1748 /util/datamanager.lua
parent33e438dd33a6933f015b97cd05ae63bcb13755b2 (diff)
downloadprosody-98d807f5b6963c688656cc598bca6ea396e2029f.tar.gz
prosody-98d807f5b6963c688656cc598bca6ea396e2029f.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;