make proxy change ship behavior cleaner

This commit is contained in:
Martin Michelsen
2022-03-30 11:34:01 -07:00
parent 419b24e089
commit db099ed2dd
2 changed files with 21 additions and 2 deletions
+1 -2
View File
@@ -91,7 +91,7 @@ void process_connect(std::shared_ptr<ServerState> s, std::shared_ptr<Client> c)
break;
}
case ServerBehavior::LOGIN_SERVER: {
case ServerBehavior::LOGIN_SERVER:
if (!s->welcome_message.empty()) {
c->flags |= ClientFlag::AT_WELCOME_MESSAGE;
}
@@ -100,7 +100,6 @@ void process_connect(std::shared_ptr<ServerState> s, std::shared_ptr<Client> c)
send_change_event(c, s->pre_lobby_event);
}
break;
}
case ServerBehavior::LOBBY_SERVER:
case ServerBehavior::DATA_SERVER_BB: