diff options
author | Marco Cirillo <maranda@lightwitch.org> | 2013-04-07 16:56:49 +0000 |
---|---|---|
committer | Marco Cirillo <maranda@lightwitch.org> | 2013-04-07 16:56:49 +0000 |
commit | 98d807f5b6963c688656cc598bca6ea396e2029f (patch) | |
tree | 67a1669e2224732aec7e22389585c0d104ad1748 | |
parent | 33e438dd33a6933f015b97cd05ae63bcb13755b2 (diff) | |
download | prosody-98d807f5b6963c688656cc598bca6ea396e2029f.tar.gz prosody-98d807f5b6963c688656cc598bca6ea396e2029f.zip |
util.datamanager: expose path decode and encode functions.
-rw-r--r-- | util/datamanager.lua | 2 |
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; |