]> 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 156a046e1e0d4672e919b56d6b3e31f0e7b9d070..e5367c3e5dc04d9b5de551d2c9227ae54289ec6b 100644 (file)
@@ -26,7 +26,7 @@
 #include "stdinc.h"
 #include "channel.h"
 #include "client.h"
-#include "irc_string.h"
+#include "match.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "send.h"
@@ -136,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;
 }