season_halloween: fuck special snowflake names
This commit is contained in:
parent
5d6fc9e6e8
commit
31a97d51d7
@ -663,7 +663,9 @@ public void HookCallback(const char[] output, int caller, int activator, float d
|
||||
|
||||
char sQuery[256];
|
||||
Format(sQuery, sizeof(sQuery), "INSERT INTO halloween_table (steam_auth,name,collected) VALUES ('%s','%s',1) ON DUPLICATE KEY UPDATE collected=collected+1;", sSteamID, sName);
|
||||
g_hDatabase.Query(SQL_OnQueryCompletedUpdate, sQuery);
|
||||
char sSafeQuery[1024];
|
||||
g_hDatabase.Escape(sQuery, sSafeQuery, sizeof(sSafeQuery));
|
||||
g_hDatabase.Query(SQL_OnQueryCompletedUpdate, sSafeQuery);
|
||||
|
||||
g_iCollected[client] += 1;
|
||||
CheckAndAddFlag(client);
|
||||
|
Loading…
Reference in New Issue
Block a user