summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 00:20:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 00:20:45 +0000
commit278cc70b2514ac48fe8e2810c1789c41ca933ca9 (patch)
treee3b9b2009a29088ce65a7544b336ea8d8fc0e107 /src/users.cpp
parent22bffd438b22c1fa54dd376f2b204ed980e0e942 (diff)
Fixed wrong number being shown when sendq exceeded
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1364 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 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;
}