run astyle
This commit is contained in:
@@ -1689,8 +1689,7 @@ ServerLobbyThread::EstablishSession(boost::shared_ptr<SessionData> session)
|
|||||||
if (session->GetWebData()) {
|
if (session->GetWebData()) {
|
||||||
SessionError(session, ERR_NET_PLAYER_NAME_IN_USE);
|
SessionError(session, ERR_NET_PLAYER_NAME_IN_USE);
|
||||||
return;
|
return;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// If this is not a websocket connection, disconnect the already connected player.
|
// If this is not a websocket connection, disconnect the already connected player.
|
||||||
InternalRemovePlayer(previousPlayerId, ERR_NET_PLAYER_NAME_IN_USE);
|
InternalRemovePlayer(previousPlayerId, ERR_NET_PLAYER_NAME_IN_USE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user