1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 10:43:13 +02:00

Add ACL support to tsctl - may want to change namespace

This commit is contained in:
Travis McArthur
2015-06-13 19:38:58 -04:00
parent 3a83c0e747
commit 8d8d069b6f
+1 -1
View File
@@ -91,7 +91,7 @@ DLLFUNC int m_tsctl(aClient *cptr, aClient *sptr, int parc, char *parv[])
if (!MyClient(sptr))
goto doit;
if (!IsAdmin(sptr) && !IsCoAdmin(sptr))
if (!IsAdmin(sptr) && !IsCoAdmin(sptr) && !OperClass_evaluateACLPath(sptr->user->operlogin,"tsctl",sptr,NULL,NULL,NULL))
{
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
return 0;