user = parv[1];
- if(!IsOperLocalKill(source_p))
+ if(!IsOperKill(source_p))
{
- sendto_one(source_p, form_str(ERR_NOPRIVS), me.name, source_p->name, "local_kill");
+ sendto_one(source_p, form_str(ERR_NOPRIVS), me.name, source_p->name, "kill");
return;
}
sendto_one_notice(source_p, ":KILL changed from %s to %s", user, target_p->name);
}
- if(!MyConnect(target_p) && (!IsOperGlobalKill(source_p)))
- {
- sendto_one_notice(source_p, ":Nick %s is not on your server "
- "and you do not have the global_kill flag",
- target_p->name);
- return;
- }
-
/* Last chance to stop the kill */
moduledata.client = source_p;
moduledata.target = target_p;