#include "s_conf.h"
#include "s_serv.h"
#include "messages.h"
+#include "logger.h"
-static int mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
+static int mo_okick(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
struct Message okick_msgtab = {
- "OKICK", 0, 0, 0, MFLG_SLOW,
+ "OKICK", 0, 0, 0, 0,
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, mg_ignore, {mo_okick, 4}}
};
** parv[3] = kick comment
*/
static int
-mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mo_okick(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
struct Client *who;
struct Client *target_p;
if((p = strchr(parv[2], ',')))
*p = '\0';
- user = LOCAL_COPY(parv[2]); // strtoken(&p2, parv[2], ",");
+ user = LOCAL_COPY(parv[2]); // strtoken(&p2, parv[2], ",");
if(!(who = find_chasing(source_p, user, &chasing)))
{
return 0;