summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-05-11 08:47:46 -0400
committerAdam <Adam@anope.org>2017-05-11 08:47:46 -0400
commit0c66cc2c71ea9f2f5c926d8aeb2a8eb8e94c1c10 (patch)
tree30893940cc0b2fd3c8e45d2d7b7897ccaa36093f
parent1daaf3b84d87e543ee43c2f8b9b3cd0a02787424 (diff)
m_sakick: remove unused "Unable to kick" notice
This has never worked due to the channel lookup using the user's nick
-rw-r--r--src/modules/m_sakick.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/m_sakick.cpp b/src/modules/m_sakick.cpp
index 7dfcd8904..afca49e25 100644
--- a/src/modules/m_sakick.cpp
+++ b/src/modules/m_sakick.cpp
@@ -63,14 +63,6 @@ class CommandSakick : public Command
if (IS_LOCAL(dest))
{
channel->KickUser(ServerInstance->FakeClient, dest, reason);
-
- Channel *n = ServerInstance->FindChan(parameters[1]);
- if (n && n->HasUser(dest))
- {
- /* Sort-of-bug: If the command was issued remotely, this message won't be sent */
- user->WriteServ("NOTICE %s :*** Unable to kick %s from %s", user->nick.c_str(), dest->nick.c_str(), parameters[0].c_str());
- return CMD_FAILURE;
- }
}
if (IS_LOCAL(user))