1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 04:03:12 +02:00

Refactor permissions on chghost

This commit is contained in:
Travis McArthur
2015-07-05 11:40:02 -07:00
parent 026befb6cd
commit e2674fd33a
+1 -1
View File
@@ -91,7 +91,7 @@ DLLFUNC int m_chghost(aClient *cptr, aClient *sptr, int parc, char *parv[])
{
aClient *acptr;
if (MyClient(sptr) && !IsAnOper(sptr))
if (MyClient(sptr) && !OperClass_evaluateACLPath("client:host",sptr,NULL,NULL,NULL))
{
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name,
parv[0]);