communityslots: fixed if syntax error