mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Moved ReadData() to be called before PushBuff()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@451 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -1114,8 +1114,8 @@ public:
|
||||
if ( T::TMO_READ & pcSock->GetTimeoutType() )
|
||||
pcSock->ResetTimer(); // reset the timeout timer
|
||||
|
||||
pcSock->ReadData( buff, bytes ); // Call ReadData() before PushBuff() so that it is called before the ReadLine() event - LD 07/18/05
|
||||
pcSock->PushBuff( buff, bytes );
|
||||
pcSock->ReadData( buff, bytes );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user