removed onmapstart truncating

This commit is contained in:
jenz 2022-04-09 23:52:27 +02:00
parent ee414bc91f
commit 3a59297a49

View File

@ -182,15 +182,6 @@ public void sql_select_cooldown(Database db, DBResultSet results, const char[] e
delete results;
}
public void OnMapStart()
{
if (!g_hDatabase)
return;
char sql_statement[512];
Format(sql_statement, sizeof(sql_statement), "TRUNCATE table `sb_bans_shortened`");
g_hDatabase.Query(sql_truncate_sb_bans_shortened, sql_statement, _, DBPrio_High);
}
public void sql_truncate_sb_bans_shortened(Database db, DBResultSet results, const char[] error, any data)
{
if(!db || strlen(error))