]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_okick.c
Pretty symlink logic for help files
[irc/rqf/shadowircd.git] / extensions / m_okick.c
index 07c5800d493dee99f5865087eec22450606d5110..e5367c3e5dc04d9b5de551d2c9227ae54289ec6b 100644 (file)
  */
 
 #include "stdinc.h"
-#include "tools.h"
 #include "channel.h"
 #include "client.h"
-#include "irc_string.h"
+#include "match.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "send.h"
@@ -137,8 +136,6 @@ mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char
                             me.name, chptr->chname, who->name, comment);
        sendto_server(&me, chptr, CAP_TS6, NOCAPS,
                      ":%s KICK %s %s :%s", me.id, chptr->chname, who->id, comment);
-       sendto_server(&me, chptr, NOCAPS, CAP_TS6,
-                     ":%s KICK %s %s :%s", me.name, chptr->chname, who->name, comment);
        remove_user_from_channel(msptr);
        return 0;
 }