diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index 93f2533fa..bbaa93406 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -2877,6 +2877,12 @@ int CServer::Run() { // entry not found -> whitelisted m_aClients[ClientId].m_DnsblState = CClient::DNSBL_STATE_WHITELISTED; + + char aAddrStr[NETADDR_MAXSTRSIZE]; + net_addr_str(m_NetServer.ClientAddr(ClientId), aAddrStr, sizeof(aAddrStr), true); + + str_format(aBuf, sizeof(aBuf), "ClientId=%d addr=<{%s}> secure=%s whitelisted", ClientId, aAddrStr, m_NetServer.HasSecurityToken(ClientId) ? "yes" : "no"); + Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "dnsbl", aBuf); } else { @@ -2888,8 +2894,7 @@ int CServer::Run() net_addr_str(m_NetServer.ClientAddr(ClientId), aAddrStr, sizeof(aAddrStr), true); str_format(aBuf, sizeof(aBuf), "ClientId=%d addr=<{%s}> secure=%s blacklisted", ClientId, aAddrStr, m_NetServer.HasSecurityToken(ClientId) ? "yes" : "no"); - - Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "dnsbl", aBuf); + Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "dnsbl", aBuf); if(Config()->m_SvDnsblBan) {