Software /
code /
prosody
Comparison
core/s2smanager.lua @ 4994:d4e6a07a7c33
s2smanager: Remove logging of (unknown) in a case where from_host and to_host should always be set
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Jul 2012 17:35:18 +0100 |
parent | 4993:5243b74a4cbb |
child | 5105:50688a2856f7 |
comparison
equal
deleted
inserted
replaced
4993:5243b74a4cbb | 4994:d4e6a07a7c33 |
---|---|
72 if not session.hosts[host] then session.hosts[host] = {}; end | 72 if not session.hosts[host] then session.hosts[host] = {}; end |
73 session.hosts[host].authed = true; | 73 session.hosts[host].authed = true; |
74 else | 74 else |
75 return false; | 75 return false; |
76 end | 76 end |
77 session.log("debug", "connection %s->%s is now authenticated for %s", session.from_host or "(unknown)", session.to_host or "(unknown)", host); | 77 session.log("debug", "connection %s->%s is now authenticated for %s", session.from_host, session.to_host, host); |
78 | 78 |
79 mark_connected(session); | 79 mark_connected(session); |
80 | 80 |
81 return true; | 81 return true; |
82 end | 82 end |