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 5154b04cb..9d0367a9a 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -224,7 +224,7 @@ void userrec::AddWriteBuf(std::string data)
return;
if (sendq.length() + data.length() > this->sendqmax)
{
- WriteOpers("*** User %s SendQ of %d exceeds connect class maximum of %d",this->nick,sendq.length() + data.length(),sendq.length());
+ WriteOpers("*** User %s SendQ of %d exceeds connect class maximum of %d",this->nick,sendq.length() + data.length(),this->sendqmax);
this->SetWriteError("SendQ exceeded");
return;
}