Funny thing is : client.h also declares MaxSkill_weapon but it is used nowhere either. Probably some left-over code too.
The current method used for getting the max skill is (tada !) : MaxSkill
Code:
int16 Client::MaxSkill(SkillType skillid, int16 class_, int16 level) const {
return(database.GetSkillCap(class_, skillid, level));
}