Actually I think this is just generally the wrong place to put the check. Put it in the INI code in game_init and add a check to the host options menu, so you can't enter something higher in the first place.