Sending error if guest tries to join non-standard game.
This commit is contained in:
1 parent
02ebb0d2b3
commit
93b45c1371
2 files changed
+39
-17
No files matched your search
@@ -1387,6 +1387,9 @@ ClientStateWaitJoin::InternalHandlePacket(boost::shared_ptr<ClientThread> client
|
||||
case joinGameFailureReason_invalidPassword :
|
||||
failureCode = NTF_NET_JOIN_INVALID_PASSWORD;
|
||||
break;
|
||||
case joinGameFailureReason_notAllowedAsGuest :
|
||||
failureCode = NTF_NET_JOIN_GUEST_FORBIDDEN;
|
||||
break;
|
||||
default :
|
||||
failureCode = NTF_NET_INTERNAL;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user