X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fusers.cpp;h=249b789e9d83c552b6ef616a470aaa4c49e9f232;hb=2b3be48832e2b926110abe185d1ba79d0ce64e00;hp=42816932f5f012b7e20c79d363ae9131d388de88;hpb=14004479dc1d471c4388f0ab7f86f869ba7f098a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/users.cpp b/src/users.cpp index 42816932f..249b789e9 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -416,7 +416,8 @@ void userrec::FlushWriteBuf() int n_sent = write(this->fd,tb,this->sendq.length()); if (n_sent == -1) { - this->SetWriteError(strerror(errno)); + if (errno != EAGAIN) + this->SetWriteError(strerror(errno)); } else {