forked from rDrama/rDrama
disable ddos_detected in localhost
parent
b69a4c10e4
commit
94e8ed4bc0
|
@ -77,6 +77,7 @@ def calc_users():
|
|||
loggedin_counter = len(loggedin)
|
||||
loggedout_counter = len(loggedout)
|
||||
|
||||
if not IS_LOCALHOST:
|
||||
if loggedout_counter > (loggedin_counter * 3):
|
||||
if not get_setting('ddos_detected'):
|
||||
toggle_setting('ddos_detected')
|
||||
|
|
Loading…
Reference in New Issue