How can this player controller client function get the gamemode?

Isn’t ClientPostLogin called on the Server side, from the Client?