remove rdrama if condition

pull/222/head
Aevann 2024-02-12 20:04:43 +02:00
parent 80a8dd60a9
commit c0a5bbc29e
1 changed files with 1 additions and 1 deletions

View File

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