Ltv, Please post the full code. I can only guess what g_optionName[] is and what string(s?) it may or may not hold.
Also it would be nice to know what are you trying to do. Like deny all votes for: maps starting with... OR maps containing... OR map group... OR ... what ?