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:
prozacx
2005-07-19 04:32:05 +00:00
parent adbf1b489c
commit ad756aa9b0
+1 -1
View File
@@ -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;
}
}