diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-05-23 23:05:01 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-05-23 23:05:01 +0100 |
commit | 84b7c3f97831c15d262663f6bc58b552adb11398 (patch) | |
tree | 67f0b2680ad137ebd5cd25ae840d910088fc35e4 /util/datamanager.lua | |
parent | 4b31a9798fee915ced267f8196af658d74075652 (diff) | |
parent | c918263d056fa6c099bbc704d8e0a17b24d546d7 (diff) | |
download | prosody-84b7c3f97831c15d262663f6bc58b552adb11398.tar.gz prosody-84b7c3f97831c15d262663f6bc58b552adb11398.zip |
Merge 0.7/waqas->0.7/MattJ
Diffstat (limited to 'util/datamanager.lua')
-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 9d96e5b3..57cd2594 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -145,7 +145,7 @@ function store(username, host, datastore, data) local f, msg = io_open(getpath(username, host, datastore, nil, true), "w+"); if not f then log("error", "Unable to write to "..datastore.." storage ('"..msg.."') for user: "..(username or "nil").."@"..(host or "nil")); - return; + return nil, "Error saving to storage"; end f:write("return "); append(f, data); |