Make it so that halfops cannot set +-h
This commit is contained in:
parent
2f3b62d0ad
commit
1a9821cd51
|
@ -1018,7 +1018,7 @@ chm_halfop(struct Client *source_p, struct Channel *chptr,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(alevel != CHFL_CHANOP && alevel != CHFL_OWNER && alevel != CHFL_HALFOP)
|
if(alevel != CHFL_CHANOP && alevel != CHFL_OWNER)
|
||||||
{
|
{
|
||||||
if(!(*errors & SM_ERR_NOOPS))
|
if(!(*errors & SM_ERR_NOOPS))
|
||||||
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
|
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
|
||||||
|
|
Loading…
Reference in New Issue