From a348bf1768b4de738a6f80639819e46e5de0b92b Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 11 Feb 2008 22:09:24 +0000 Subject: Backport reworked culllist from 1.2: drastically improves performance when quitting a lot of users (e.g. on netsplit). I was originally not going to do this for 1.1, but it seems to perform well, and I can't break it under clone flooding - so in it goes. QA: please test this with lots of activity (connecting, disconnecting, ping timeouts, socket errors, anything you can throw at it) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8905 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 52ef4a6ce..495a8f605 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -425,11 +425,8 @@ void CommandParser::ProcessBuffer(std::string &buffer,userrec *user) if (buffer.length()) { - if (!user->muted) - { - ServerInstance->Log(DEBUG,"C[%d] -> :%s %s",user->GetFd(), user->nick, buffer.c_str()); - this->ProcessCommand(user,buffer); - } + ServerInstance->Log(DEBUG,"C[%d] -> :%s %s",user->GetFd(), user->nick, buffer.c_str()); + this->ProcessCommand(user,buffer); } } -- cgit v1.3.1-10-gc9f91