mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-26 20:36:38 +02:00
G:line uses operclass along-side classic system
This commit is contained in:
+1
-1
@@ -193,8 +193,8 @@ DLLFUNC int m_gline(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
{
|
||||
if (IsServer(sptr))
|
||||
return 0;
|
||||
if ((!OPCanTKL(sptr) || !IsOper(sptr)) && !OperClass_evaluateACLPath(sptr->user->operlogin,"kline:global",sptr,cptr,NULL,NULL,NULL))
|
||||
|
||||
if (!OPCanTKL(sptr) || !IsOper(sptr))
|
||||
{
|
||||
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name,
|
||||
sptr->name);
|
||||
|
||||
Reference in New Issue
Block a user