Permalink
Browse files

Fix the "Connecting user/network" message

This debug line was printing the network twice instead of the username
  • Loading branch information...
Kyle Fuller
Kyle Fuller committed Oct 9, 2011
1 parent edaa20e commit af24f7b9a788a8c79e157960af4c3afab766986f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/IRCNetwork.cpp
View
@@ -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");

0 comments on commit af24f7b

Please sign in to comment.