added mini comment on sourceban about if its same IP or steam ID thats detected
This commit is contained in:
parent
0a18eeb5f3
commit
39f8e99bc8
@ -194,7 +194,16 @@ public void sql_select_sb_bans(Database db, DBResultSet results, const char[] er
|
|||||||
}
|
}
|
||||||
Call_Finish();
|
Call_Finish();
|
||||||
//bans need to be over 1 hour long for getting detected
|
//bans need to be over 1 hour long for getting detected
|
||||||
SBPP_BanPlayer(0, client, 0, "Ban avoiding (Jenz ban detector)");
|
if (strlen(sSID) == 0)
|
||||||
|
{
|
||||||
|
SBPP_BanPlayer(0, client, 0, "Ban avoiding (Jenz ban detector). Same IP avoiding ban.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
char message[1024];
|
||||||
|
Format(message, sizeof(message), "Ban avoiding (Jenz ban detector). SteamID avoiding ban: %s", sSID);
|
||||||
|
SBPP_BanPlayer(0, client, 0, message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
delete results;
|
delete results;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user