]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed wrong number being shown when sendq exceeded
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 12 May 2005 00:20:45 +0000 (00:20 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 12 May 2005 00:20:45 +0000 (00:20 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1364 e03df62e-2008-0410-955e-edbf42e46eb7

src/users.cpp

index 5154b04cb1ab941da62a38e19cbfb1fd168c75cb..9d0367a9a062e19fb4edf5f6673cdc64fb3ccd1a 100644 (file)
@@ -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;
        }