Update helpers.inc (#805)
Update GetClientAuthString to GetClientAuthId
This commit is contained in:
parent
1ab6ab1e5c
commit
7e080d259e
@ -49,7 +49,7 @@ stock void FormatUserLogText(int client, char[] buffer, int maxlength)
|
|||||||
char name[MAX_NAME_LENGTH];
|
char name[MAX_NAME_LENGTH];
|
||||||
|
|
||||||
int userid = GetClientUserId(client);
|
int userid = GetClientUserId(client);
|
||||||
if (!GetClientAuthString(client, auth, sizeof(auth)))
|
if (!GetClientAuthId(client, AuthId_Engine, auth, sizeof(auth)))
|
||||||
{
|
{
|
||||||
strcopy(auth, sizeof(auth), "UNKNOWN");
|
strcopy(auth, sizeof(auth), "UNKNOWN");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user