aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-01-11 04:22:45 +0000
committerMatthew Wild <mwild1@gmail.com>2011-01-11 04:22:45 +0000
commitda14cbf95f70cba5770251871971197bde6fde79 (patch)
tree9ed8c553764629818d3e6b3fa67df20ee087804a /util/datamanager.lua
parent59f7814f5fdf47d1a7dd673043cbc076b0484f66 (diff)
parent16e8102a4e0ee8528925952f9b60ef87a4f8aa00 (diff)
downloadprosody-da14cbf95f70cba5770251871971197bde6fde79.tar.gz
prosody-da14cbf95f70cba5770251871971197bde6fde79.zip
Merge 0.8->trunk
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 5aee289d..2be3acfd 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -57,7 +57,7 @@ local function mkdir(path)
return path;
end
-local data_path = prosody.paths.data;
+local data_path = (prosody and prosody.paths and prosody.paths.data) or ".";
local callbacks = {};
------- API -------------