added return fix
This commit is contained in:
parent
7cf253a076
commit
c5a6e30ca8
@ -665,7 +665,10 @@ public void insertPlayerMYSQL(int client)
|
||||
int size2 = 2 * strlen(sName) + 1;
|
||||
char[] sEscapedName = new char[size2 + 1];
|
||||
if (!g_dDatabase)
|
||||
{
|
||||
Database.Connect(SQL_OnDatabaseConnect, "racetimercss");
|
||||
return;
|
||||
}
|
||||
g_dDatabase.Escape(sName, sEscapedName, size2 + 1);
|
||||
if (StrEqual(sSID, "STEAM_ID_STOP_IGNORING_RETVALS") || StrEqual(sSID, "STEAM_ID_PENDING"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user