diff options
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 6acbf137a..3afdb5796 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -2039,6 +2039,9 @@ void userrec::HandleEvent(EventType et, int errornum) case EVENT_WRITE: this->FlushWriteBuf(); break; + case EVENT_ERROR: + this->SetWriteError(strerror(errornum)); + break; } } catch (...) |