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
commit7e71294f67e62e081271a2c384605bd7a4397429 (patch)
tree67a1669e2224732aec7e22389585c0d104ad1748 /util
parenta7e34e1b7373ac2ebc862e6544861e07e8531739 (diff)
downloadprosody-7e71294f67e62e081271a2c384605bd7a4397429.tar.gz
prosody-7e71294f67e62e081271a2c384605bd7a4397429.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;