diff options
author | Adam <adam@sigterm.info> | 2017-05-17 18:03:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 18:03:38 -0400 |
commit | e5518238259b9988a2a6d8ef654b69034628c10d (patch) | |
tree | a46ae111c7feda306bb5e4b13c73d4040cdad7c8 /src/modules | |
parent | d8c72fd7af539cf0a2759740126e020b9ea2eb86 (diff) | |
parent | 0c66cc2c71ea9f2f5c926d8aeb2a8eb8e94c1c10 (diff) |
Merge pull request #1328 from Adam-/insp20+sakick
m_sakick: remove unused "Unable to kick" notice
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_sakick.cpp | 8 |
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)) |