From: Adam Date: Wed, 17 May 2017 22:03:38 +0000 (-0400) Subject: Merge pull request #1328 from Adam-/insp20+sakick X-Git-Tag: v2.0.24~3 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=e5518238259b9988a2a6d8ef654b69034628c10d;hp=d8c72fd7af539cf0a2759740126e020b9ea2eb86;p=user%2Fhenk%2Fcode%2Finspircd.git Merge pull request #1328 from Adam-/insp20+sakick m_sakick: remove unused "Unable to kick" notice --- 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))