From: brain Date: Thu, 12 May 2005 00:20:45 +0000 (+0000) Subject: Fixed wrong number being shown when sendq exceeded X-Git-Tag: v2.0.23~10319 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=278cc70b2514ac48fe8e2810c1789c41ca933ca9;p=user%2Fhenk%2Fcode%2Finspircd.git Fixed wrong number being shown when sendq exceeded git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1364 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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; }