diff options
author | Emma Miler <emma.pi@protonmail.com> | 2022-10-28 00:30:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 18:30:50 -0400 |
commit | 4c99e6f02d7063ccc2e6c09531abd48c5bf9c91e (patch) | |
tree | 1d5922a4678b3ea114a6cf96def6574815b392aa /NorthstarDLL | |
parent | f233b4b75b974ade00aa94436bd39c9b3f9321bd (diff) | |
download | NorthstarLauncher-4c99e6f02d7063ccc2e6c09531abd48c5bf9c91e.tar.gz NorthstarLauncher-4c99e6f02d7063ccc2e6c09531abd48c5bf9c91e.zip |
Update serverauthentication.cpp (#307)
Diffstat (limited to 'NorthstarDLL')
-rw-r--r-- | NorthstarDLL/serverauthentication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/serverauthentication.cpp b/NorthstarDLL/serverauthentication.cpp index 98054dd7..39136704 100644 --- a/NorthstarDLL/serverauthentication.cpp +++ b/NorthstarDLL/serverauthentication.cpp @@ -124,7 +124,7 @@ void ServerAuthenticationManager::VerifyPlayerName(R2::CBaseClient* player, char bool nameAccepted = (!*authData.username || !strcmp(name, authData.username)); - if (!nameAccepted && g_pMasterServerManager->m_bRequireClientAuth && !CVar_ns_auth_allow_insecure->GetInt()) + if (!nameAccepted && !CVar_ns_auth_allow_insecure->GetInt()) { // limit name length to 64 characters just in case something changes, this technically shouldn't be needed given the master // server gets usernames from origin but we have it just in case |