if(*parv[2] == '\0')
{
- sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS), me.name, parv[0], "KICK");
+ sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS), me.name, source_p->name, "KICK");
return 0;
}
if((target_p = find_client(user)) == NULL)
{
- sendto_one(source_p, form_str(ERR_NOSUCHNICK), me.name, parv[0], user);
+ sendto_one(source_p, form_str(ERR_NOSUCHNICK), me.name, source_p->name, user);
return 0;
}
if((msptr = find_channel_membership(chptr, target_p)) == NULL)
{
sendto_one(source_p, form_str(ERR_USERNOTINCHANNEL),
- me.name, parv[0], parv[1], parv[2]);
+ me.name, source_p->name, parv[1], parv[2]);
return 0;
}