forked from rDrama/rDrama
1
0
Fork 0

restore exception

master
Aevann 2024-02-13 14:35:42 +02:00
parent 2e700b3223
commit 7f1c3320da
1 changed files with 9 additions and 8 deletions

View File

@ -61,6 +61,7 @@ def calc_users():
else:
ddos_threshold = 1000
if SITE != 'rdrama.net':
if g.loggedin_counter + g.loggedout_counter > ddos_threshold:
if not get_setting('under_attack'):
set_setting('under_attack', True)