1
0
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:
Travis McArthur
2015-06-01 02:14:28 -04:00
parent 1f9677a199
commit d640ca84ee
+1 -1
View File
@@ -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);