remove random.seed on all sites by devrama (potential exploit)

pull/211/head
Aevann 2023-10-04 12:56:28 +03:00
parent 7e40111582
commit 57841f00cf
1 changed files with 3 additions and 1 deletions

View File

@ -879,7 +879,9 @@ def torture_queen(string, key):
if string[-5:] == ', and':
string = string[:-5]
random.seed(key)
if SITE == 'devrama.net':
random.seed(key)
if random.random() < PHRASE_CHANCE:
girl_phrase = random.choice(GIRL_PHRASES)
string = girl_phrase.replace("$", string)