aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar w00t2006-11-03 00:18:47 +0000
committerGravatar w00t2006-11-03 00:18:47 +0000
commitf1dbe14881f19e46de86dcfd7f3c32146a51c563 (patch)
tree3c173de58396a7ed526706298eedcecfe2cf354d /src/users.cpp
parentWhen we get an event on a userrec of EVENT_ERROR, and errornum is 0, send the... (diff)
downloadinspircd++-f1dbe14881f19e46de86dcfd7f3c32146a51c563.tar.gz
inspircd++-f1dbe14881f19e46de86dcfd7f3c32146a51c563.tar.bz2
inspircd++-f1dbe14881f19e46de86dcfd7f3c32146a51c563.zip
Fix compile error, and spank Brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5634 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-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;
}
}