mirror of
https://github.com/inspircd/inspircd.git
synced 2025-04-01 22:00:04 -04:00
Fix broken quits (i broke them by taking out a check i didnt think was required -- it was. RTFS!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5590 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
ce82b3bd6b
commit
1aaee19ee9
@ -201,6 +201,9 @@ void InspIRCd::ProcessUser(userrec* cu)
|
|||||||
* table, life is much easier (and FASTER)
|
* table, life is much easier (and FASTER)
|
||||||
*/
|
*/
|
||||||
EventHandler* new_comp = this->SE->GetRef(currfd);
|
EventHandler* new_comp = this->SE->GetRef(currfd);
|
||||||
|
|
||||||
|
if (new_comp != old_comp)
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -633,7 +633,7 @@ void userrec::FlushWriteBuf()
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (this->fd == FD_MAGIC_NUMBER)
|
if ((this->fd == FD_MAGIC_NUMBER) || (*this->GetWriteError()))
|
||||||
{
|
{
|
||||||
sendq = "";
|
sendq = "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user