removed onmapstart truncating
This commit is contained in:
parent
ee414bc91f
commit
3a59297a49
@ -182,15 +182,6 @@ public void sql_select_cooldown(Database db, DBResultSet results, const char[] e
|
|||||||
delete results;
|
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)
|
public void sql_truncate_sb_bans_shortened(Database db, DBResultSet results, const char[] error, any data)
|
||||||
{
|
{
|
||||||
if(!db || strlen(error))
|
if(!db || strlen(error))
|
||||||
|
Loading…
Reference in New Issue
Block a user