diff options
| author | 2008-01-16 16:19:57 +0000 | |
|---|---|---|
| committer | 2008-01-16 16:19:57 +0000 | |
| commit | af9d3617375b3fb013dc6ac49a1926bde4f775e0 (patch) | |
| tree | c46b85581642518b7d8a1474014c3cdd37f14f6e /src/commands/cmd_kill.cpp | |
| parent | Two stage commit: don't set user->muted except in QuitUser (duplicate setting... (diff) | |
| download | inspircd++-af9d3617375b3fb013dc6ac49a1926bde4f775e0.tar.gz inspircd++-af9d3617375b3fb013dc6ac49a1926bde4f775e0.tar.bz2 inspircd++-af9d3617375b3fb013dc6ac49a1926bde4f775e0.zip | |
Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_kill.cpp')
| -rw-r--r-- | src/commands/cmd_kill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp index 675532a3c..6a1e64d7f 100644 --- a/src/commands/cmd_kill.cpp +++ b/src/commands/cmd_kill.cpp @@ -90,7 +90,7 @@ CmdResult CommandKill::Handle (const char** parameters, int pcnt, User *user) /* Bug #419, make sure this message can only occur once even in the case of multiple KILL messages crossing the network, and change to show * hidekillsserver as source if possible */ - if (!u->muted) + if (!u->quitting) { u->Write(":%s KILL %s :%s!%s!%s (%s)", *ServerInstance->Config->HideKillsServer ? ServerInstance->Config->HideKillsServer : user->GetFullHost(), u->nick, |
