aboutsummaryrefslogtreecommitdiffstats
path: root/core/rostermanager.lua
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-09-19 19:17:07 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-09-19 19:17:07 +0200
commit519ef501d24ebe62477916816d782d6a8ad437f6 (patch)
tree7e37c2fba3025c2317cf0c83d600142f270e5be9 /core/rostermanager.lua
parent4c39528a445dd5911e91b183c24a42febf0b840b (diff)
downloadprosody-519ef501d24ebe62477916816d782d6a8ad437f6.tar.gz
prosody-519ef501d24ebe62477916816d782d6a8ad437f6.zip
rostermanager: Simplify logging.
Diffstat (limited to 'core/rostermanager.lua')
-rw-r--r--core/rostermanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua
index c94482c4..04f97f22 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -104,9 +104,9 @@ local function load_roster(username, host)
if user then
roster = user.roster;
if roster then return roster; end
- log("debug", "load_roster: loading for new user: %s@%s", username, host);
+ log("debug", "load_roster: loading for new user: %s", jid);
else -- Attempt to load roster for non-loaded user
- log("debug", "load_roster: loading for offline user: %s@%s", username, host);
+ log("debug", "load_roster: loading for offline user: %s", jid);
end
local roster_store = storagemanager.open(host, "roster", "keyval");
local data, err = roster_store:get(username);