diff --git a/DCCBounce.cpp b/DCCBounce.cpp index c3b5e23d..eedaf058 100644 --- a/DCCBounce.cpp +++ b/DCCBounce.cpp @@ -111,7 +111,7 @@ void CDCCBounce::Timeout() { if (IsRemote()) { CString sHost = Csock::GetHostName(); if (!sHost.empty()) { - sHost = " to [" + sHost + ":" + CString(Csock::GetPort()) + "]"; + sHost = " to [" + sHost + " " + CString(Csock::GetPort()) + "]"; } else { sHost = "."; } @@ -128,7 +128,7 @@ void CDCCBounce::ConnectionRefused() { CString sType = (m_bIsChat) ? "Chat" : "Xfer"; CString sHost = Csock::GetHostName(); if (!sHost.empty()) { - sHost = " to [" + sHost + ":" + CString(Csock::GetPort()) + "]"; + sHost = " to [" + sHost + " " + CString(Csock::GetPort()) + "]"; } else { sHost = "."; } @@ -143,7 +143,7 @@ void CDCCBounce::SockError(int iErrno) { if (IsRemote()) { CString sHost = Csock::GetHostName(); if (!sHost.empty()) { - sHost = "[" + sHost + ":" + CString(Csock::GetPort()) + "]"; + sHost = "[" + sHost + " " + CString(Csock::GetPort()) + "]"; } m_pUser->PutStatus("DCC " + sType + " Bounce (" + m_sRemoteNick + "): Socket error [" + CString(strerror(iErrno)) + "]" + sHost); diff --git a/modules/extra/log.cpp b/modules/extra/log.cpp index f807dfc3..204c6ae9 100644 --- a/modules/extra/log.cpp +++ b/modules/extra/log.cpp @@ -97,7 +97,7 @@ CString CLogMod::GetServer() if (pServer->IsSSL()) sSSL = "+"; - return pServer->GetName() + ":" + sSSL + CString(pServer->GetPort()); + return pServer->GetName() + " " + sSSL + CString(pServer->GetPort()); } void CLogMod::OnIRCConnected() diff --git a/znc.cpp b/znc.cpp index 8d872b25..c3dbaa70 100644 --- a/znc.cpp +++ b/znc.cpp @@ -151,8 +151,8 @@ bool CZNC::ConnectUser(CUser *pUser) { m_sConnectThrottle.AddItem(pServer->GetName()); - DEBUG("User [" << pUser->GetUserName() << "] is connecting to [" << pServer->GetName() << ":" << pServer->GetPort() << "] ..."); - pUser->PutStatus("Attempting to connect to [" + pServer->GetName() + ":" + CString(pServer->GetPort()) + "] ..."); + DEBUG("User [" << pUser->GetUserName() << "] is connecting to [" << pServer->GetName() << " " << pServer->GetPort() << "] ..."); + pUser->PutStatus("Attempting to connect to [" + pServer->GetName() + " " + CString(pServer->GetPort()) + "] ..."); pIRCSock = new CIRCSock(pUser); pIRCSock->SetPass(pServer->GetPass());