Add oper:dehelper
This commit is contained in:
parent
f510983eeb
commit
4a4b20955f
1 changed files with 2 additions and 2 deletions
|
@ -53,9 +53,9 @@ mo_dehelper(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sou
|
|||
{
|
||||
struct Client *target_p;
|
||||
|
||||
if (!IsOperAdmin(source_p))
|
||||
if (!HasPrivilege(source_p, "oper:dehelper"))
|
||||
{
|
||||
sendto_one(source_p, form_str(ERR_NOPRIVS), me.name, source_p->name, "admin");
|
||||
sendto_one(source_p, form_str(ERR_NOPRIVS), me.name, source_p->name, "dehelper");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue