mirror of
https://github.com/hypervortex/VH-Bombsquad-Modded-Server-Files
synced 2025-10-16 12:02:51 +00:00
Update servercheck.py
This commit is contained in:
parent
c809d01a1d
commit
2fb17a90bc
1 changed files with 1 additions and 1 deletions
2
dist/ba_root/mods/tools/servercheck.py
vendored
2
dist/ba_root/mods/tools/servercheck.py
vendored
|
|
@ -541,7 +541,7 @@ def reportSpam(id):
|
|||
count = profiles[id]["spamCount"]
|
||||
if now - profiles[id]["lastSpam"] < 2 * 24 * 60 * 60:
|
||||
count += 1
|
||||
if count > 3:
|
||||
if count > 5:
|
||||
logger.log(id+" auto banned for spamming")
|
||||
# by default ban for 1 day , change here if you want
|
||||
pdata.ban_player(id, 1, "auto ban exceed warn count")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue