author | Matthew Wild <mwild1@gmail.com> |
Sun, 06 Dec 2009 00:35:06 +0000 | |
changeset 2328 | 2804d81206d8 |
parent 2325 | 265441f2ad48 |
child 2329 | e497718194a3 |
--- a/util/datamanager.lua Sat Dec 05 13:34:45 2009 +0000 +++ b/util/datamanager.lua Sun Dec 06 00:35:06 2009 +0000 @@ -88,7 +88,7 @@ function getpath(username, host, datastore, ext, create) ext = ext or "dat"; - host = host and encode(host); + host = (host and encode(host)) or "_global"; username = username and encode(username); if username then if create then mkdir(mkdir(mkdir(data_path).."/"..host).."/"..datastore); end