aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands/cmd_kill.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-01-16 09:14:23 +0000
committerGravatar w00t2008-01-16 09:14:23 +0000
commit72fe978b29fa7d9fd7f8e9c2766c06ab1a0a8bc7 (patch)
treec870f41d2c416cfb8c298177480c58434a4ee990 /src/commands/cmd_kill.cpp
parentRe-add support for silent quits (note: we also remove an O(n) doing it this way) (diff)
downloadinspircd++-72fe978b29fa7d9fd7f8e9c2766c06ab1a0a8bc7.tar.gz
inspircd++-72fe978b29fa7d9fd7f8e9c2766c06ab1a0a8bc7.tar.bz2
inspircd++-72fe978b29fa7d9fd7f8e9c2766c06ab1a0a8bc7.zip
Two stage commit: don't set user->muted except in QuitUser (duplicate setting), also, change muted to drop all socket operations instead of just not reading the user's buffer if muted is set (no point wasting time - they're going away). Also revert culllist back to once per mainloop iteration now it is much cheaper than previously.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_kill.cpp')
-rw-r--r--src/commands/cmd_kill.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp
index 9b4dbbf1a..675532a3c 100644
--- a/src/commands/cmd_kill.cpp
+++ b/src/commands/cmd_kill.cpp
@@ -98,7 +98,6 @@ CmdResult CommandKill::Handle (const char** parameters, int pcnt, User *user)
user->dhost,
*ServerInstance->Config->HideKillsServer ? ServerInstance->Config->HideKillsServer : user->nick,
parameters[1]);
- u->muted = true;
}
}