add option to prevent concurrent logins; closes #511

This commit is contained in:
Martin Michelsen
2026-05-17 15:00:32 -07:00
parent cb69dc9c14
commit 7b9b44c191
7 changed files with 32 additions and 5 deletions
+1 -3
View File
@@ -15,9 +15,7 @@ struct GameServerSocket : ServerSocket {
ServerBehavior behavior;
};
class GameServer
: public Server<Client, GameServerSocket>,
public std::enable_shared_from_this<GameServer> {
class GameServer : public Server<Client, GameServerSocket>, public std::enable_shared_from_this<GameServer> {
public:
GameServer() = delete;
GameServer(const GameServer&) = delete;