log(DEBUG,"*** HasPermission: %s is an oper of type '%s'",this->nick,this->oper);
ConfValue("type","classes",j,Classes,&config_f);
char* myclass = strtok_r(Classes," ",&savept);
- //myclass = savept;
while (myclass)
{
log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass);
mycmd = strtok_r(CommandList," ",&savept2);
- //mycmd = savept2;
while (mycmd)
{
if (!strcasecmp(mycmd,command))
return true;
}
mycmd = strtok_r(NULL," ",&savept2);
- //mycmd = savept2;
}
}
}
myclass = strtok_r(NULL," ",&savept);
- //myclass = savept;
}
}
}