CClient: Use CUser's IRC Socket pointer

CUser already saves the pointer to the IRC socket, so why would CClient's have
to do the same?


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1725 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-01-28 19:44:37 +00:00
parent b50d944bb9
commit f99e5190cd
4 changed files with 11 additions and 27 deletions

View File

@@ -242,7 +242,7 @@ void CClient::UserCommand(CString& sLine) {
m_pUser->CheckIRCConnect();
return;
} else if (sCommand.Equals("DISCONNECT")) {
// m_pIRCSock is only set after the low level connection
// GetIRCSock() is only set after the low level connection
// to the IRC server was established. Before this we can
// only find the IRC socket by its name.
if (GetIRCSock()) {