util.datamanager: expose path decode and encode functions.
authorMarco Cirillo <maranda@lightwitch.org>
Sun, 7 Apr 2013 16:56:49 +0000 (16:56 +0000)
committerMarco Cirillo <maranda@lightwitch.org>
Sun, 7 Apr 2013 16:56:49 +0000 (16:56 +0000)
util/datamanager.lua

index 383e738fa1d93c1b104e284cf9a044d5ef0f6fcc..9f29458c2b86b61d60d222f901bbfaece9f6b5c8 100644 (file)
@@ -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;