diff options
author | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-12-07 13:10:05 +0000 |
---|---|---|
committer | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-12-07 13:10:05 +0000 |
commit | df4a741c032f0ee0f19aac66cb3611b48c173486 (patch) | |
tree | 08fe1b6c6943fd9feb948780f29136b75958348d /NorthstarDLL | |
parent | 94a1b999b9c82af26c97b9822e77eb973291f7d2 (diff) | |
download | NorthstarLauncher-df4a741c032f0ee0f19aac66cb3611b48c173486.tar.gz NorthstarLauncher-df4a741c032f0ee0f19aac66cb3611b48c173486.zip |
use client-provided uid for logging disconnect failure as it won't be
copied to player if authentication fails
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 60d59418..73b714ab 100644 --- a/NorthstarDLL/serverauthentication.cpp +++ b/NorthstarDLL/serverauthentication.cpp @@ -320,7 +320,7 @@ bool,, (R2::CBaseClient* self, char* pName, void* pNetChannel, char bFakePlayer, if (pAuthenticationFailure) { - spdlog::info("{}'s (uid {}) connection was rejected: \"{}\"", pName, self->m_UID, pAuthenticationFailure); + spdlog::info("{}'s (uid {}) connection was rejected: \"{}\"", pName, iNextPlayerUid, pAuthenticationFailure); strncpy_s(pDisconnectReason, 256, pAuthenticationFailure, 255); return false; |