diff options
-rw-r--r-- | src/net/net.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp index 090ecd78..7dae6b35 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -154,17 +154,14 @@ void connectToServer(ServerInfo &server) switch (server.type) { -#ifdef MANASERV_SUPPORT case ServerInfo::MANASERV: new ManaServ::GeneralHandler; break; -#endif case ServerInfo::TMWATHENA: new TmwAthena::GeneralHandler; break; - default: - // Shouldn't happen... + logger->error(_("Server protocol unsupported")); break; } |