Skip to content

Commit

Permalink
Merge pull request #1328 from Adam-/insp20+sakick
Browse files Browse the repository at this point in the history
m_sakick: remove unused "Unable to kick" notice
  • Loading branch information
Adam- committed May 17, 2017
2 parents d8c72fd + 0c66cc2 commit e551823
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/modules/m_sakick.cpp
Expand Up @@ -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))
Expand Down

0 comments on commit e551823

Please sign in to comment.