diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/datamanager.lua | 2 |
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 ------------- |