diff --git a/src/utils/mp_gpprof_server/libraries/gamespy/GP/gpiProfile.c b/src/utils/mp_gpprof_server/libraries/gamespy/GP/gpiProfile.c index 7246b921b42..07242669902 100644 --- a/src/utils/mp_gpprof_server/libraries/gamespy/GP/gpiProfile.c +++ b/src/utils/mp_gpprof_server/libraries/gamespy/GP/gpiProfile.c @@ -374,7 +374,7 @@ gpiReadDiskProfile( { if(toupper(value[0]) == 'M') infoCache.sex = GP_MALE; - else if(toupper(value[1]) == 'F') + else if(toupper(value[0]) == 'F') infoCache.sex = GP_FEMALE; else infoCache.sex = GP_PAT;