copy pasting the password from the forward back to the connect extension so that the webclient can have it be used
This commit is contained in:
parent
df4b1b0aa7
commit
5e262c573a
@ -596,6 +596,8 @@ DETOUR_DECL_MEMBER9(CBaseServer__ConnectClient, IClient*, netadr_t&, address, in
|
|||||||
}
|
}
|
||||||
|
|
||||||
pchPassword = passwordBuffer;
|
pchPassword = passwordBuffer;
|
||||||
|
//overwrite it to the storage so the webclient can use its value assigned by nosteam celt plugin inside the SetSteamID detour.
|
||||||
|
V_strncpy(Storage.pchPassword, passwordBuffer, sizeof(Storage.pchPassword));
|
||||||
// k_OnClientPreConnectEx_Reject
|
// k_OnClientPreConnectEx_Reject
|
||||||
if (retVal == 0)
|
if (retVal == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user