#include "packet.h"
#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[]);
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;
if((target_p = find_client(user)) == NULL)
{
- sendto_one(source_p, form_str(ERR_NOSUCHNICK), me.name, source_p->name, user);
+ sendto_one(source_p, form_str(ERR_NOSUCHNICK), user);
return 0;
}
if((msptr = find_channel_membership(chptr, target_p)) == NULL)
{
- sendto_one(source_p, form_str(ERR_USERNOTINCHANNEL),
- me.name, source_p->name, parv[1], parv[2]);
+ sendto_one(source_p, form_str(ERR_USERNOTINCHANNEL), parv[1], parv[2]);
return 0;
}