fix team locking

the command_jointeam hook was skipping validation for players without a team.
this is bad because all newly connected players have no team