- if(thisclient->Session->accesslevel < 299)
- {
- Log( MSG_GMACTION, " %s : /gmskills NOT ALLOWED" , thisclient->CharInfo->charname);
- return true;
- }
AFTER:
- if(Config.Command_GMSkills > thisclient->Session->accesslevel || thisclient->CharInfo->isGM == false)
- {
- Log( MSG_GMACTION, " %s : /gmskills NOT ALLOWED" , thisclient->CharInfo->charname);
- return true;
- }
ADD:
- Log(MSG_INFO,"gmskills: %s:: config_smskills=%u, player access level=%u, is he GM? %u",thisclient->CharInfo->charname,Config.Command_GMSkills,thisclient->Session->accesslevel,thisclient->CharInfo->isGM);
It's not a fix, it just adds some logs.
Then try to use /gmskills as a normal user and post the log.