From af24f7b9a788a8c79e157960af4c3afab766986f Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Sun, 9 Oct 2011 19:07:43 +0000 Subject: [PATCH] Fix the "Connecting user/network" message This debug line was printing the network twice instead of the username --- src/IRCNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRCNetwork.cpp b/src/IRCNetwork.cpp index 1f4c3742..18c72c5f 100644 --- a/src/IRCNetwork.cpp +++ b/src/IRCNetwork.cpp @@ -840,7 +840,7 @@ bool CIRCNetwork::Connect() { CIRCSock *pIRCSock = new CIRCSock(this); pIRCSock->SetPass(pServer->GetPass()); - DEBUG("Connecting user/network [" << m_sName << "/" << m_sName << "]"); + DEBUG("Connecting user/network [" << m_pUser->GetUserName() << "/" << m_sName << "]"); NETWORKMODULECALL(OnIRCConnecting(pIRCSock), m_pUser, this, NULL, DEBUG("Some module aborted the connection attempt");