summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 17170fdb9..4437449e3 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -2043,7 +2043,7 @@ void userrec::HandleEvent(EventType et, int errornum)
this->FlushWriteBuf();
break;
case EVENT_ERROR:
- this->SetWriteError(errnum ? strerror(errornum) : "EOF from client");
+ this->SetWriteError(errornum ? strerror(errornum) : "EOF from client");
break;
}
}