Add oper:receive_immunity
This commit is contained in:
parent
458c853869
commit
f510983eeb
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ hdl_can_kick(hook_data_channel_approval *data)
|
||||||
if(IsOper(source_p))
|
if(IsOper(source_p))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if((chptr->mode.mode & mymode) && IsOper(who))
|
if((chptr->mode.mode & mymode) && HasPrivilege(who, "oper:receive_immunity"))
|
||||||
{
|
{
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s attempted to kick %s from %s (which is +M)",
|
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s attempted to kick %s from %s (which is +M)",
|
||||||
source_p->name, who->name, chptr->chname);
|
source_p->name, who->name, chptr->chname);
|
||||||
|
|
Loading…
Reference in a new issue