mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user