[HELP] password on the server?

WarZTHv2 copy and paste code.
DNC Source copy and paste code.
easy!!

Code:
// do not check password for GM, we allow GMs to enter any game
  bool isAdmin = IsAdmin(CustomerID);
  if(game->isPassworded() && !isAdmin) {
    if(strcmp(game->info_.pwd, pwd) != 0) {
      ans.result = GBPKT_M2C_JoinGameAns_s::rWrongPassword;
      return;
    }
  }
 
Last edited:
Upvote 0
Back