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
commit249829afcb3933e8ce24252209400088a751ebf6 (patch)
treeed1d377949d64d9b6468f0046b99290aa18d6f23
parente89b006f03f692a7e807c54757f0623302c40b85 (diff)
downloadprosody-249829afcb3933e8ce24252209400088a751ebf6.tar.gz
prosody-249829afcb3933e8ce24252209400088a751ebf6.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);