aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-04-03 12:10:30 +0200
committerKim Alvefur <zash@zash.se>2015-04-03 12:10:30 +0200
commit646f9e84bcf7b3da0bd9bcc2f1eeed9de265aa5c (patch)
tree88d12f1023b4ae74e8284343c58e2b21959f7ef9 /util/datamanager.lua
parentf458d7b46d85b2eb1bb78306d32f9fd0a5059bf7 (diff)
downloadprosody-646f9e84bcf7b3da0bd9bcc2f1eeed9de265aa5c.tar.gz
prosody-646f9e84bcf7b3da0bd9bcc2f1eeed9de265aa5c.zip
util.datamanager: Fix traceback due to %s in log message
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 b82349f1..b4138638 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -293,7 +293,7 @@ function users(host, store, typ)
local mode, err = lfs.attributes(store_dir, "mode");
if not mode then
- return function() log("debug", err or (store_dir .. " does not exist")) end
+ return function() log("debug", "%s", err or (store_dir .. " does not exist")) end
end
local next, state = lfs.dir(store_dir);
return function(state)