From 1aaee19ee96eef97eb75bfaaf4cf38db74d0dc6c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 Oct 2006 20:38:32 +0000 Subject: 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 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 067e3068f..2c49e1ec7 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -633,7 +633,7 @@ void userrec::FlushWriteBuf() { try { - if (this->fd == FD_MAGIC_NUMBER) + if ((this->fd == FD_MAGIC_NUMBER) || (*this->GetWriteError())) { sendq = ""; } -- cgit v1.2.3