Add oper:receive_immunity

This commit is contained in:
Ed Kellett 2019-08-03 03:11:00 +01:00
parent 458c853869
commit f510983eeb
No known key found for this signature in database
GPG Key ID: CB9986DEF342FABC
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ hdl_can_kick(hook_data_channel_approval *data)
if(IsOper(source_p))
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)",
source_p->name, who->name, chptr->chname);