aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-23 17:35:18 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-23 17:35:18 +0100
commit9515476107b219ba0f65925c29cee76f92bd5e01 (patch)
treeed1d377949d64d9b6468f0046b99290aa18d6f23
parente808645b53de5373b292d97f8213cca016864de9 (diff)
downloadprosody-9515476107b219ba0f65925c29cee76f92bd5e01.tar.gz
prosody-9515476107b219ba0f65925c29cee76f92bd5e01.zip
s2smanager: Remove logging of (unknown) in a case where from_host and to_host should always be set
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index ece90e8f..76dde9d2 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -74,7 +74,7 @@ function make_authenticated(session, host)
else
return false;
end
- session.log("debug", "connection %s->%s is now authenticated for %s", session.from_host or "(unknown)", session.to_host or "(unknown)", host);
+ session.log("debug", "connection %s->%s is now authenticated for %s", session.from_host, session.to_host, host);
mark_connected(session);