remotes/1693045480750635534/spooky-22
Aevann1 2021-11-16 02:18:41 +02:00
parent 21cd29e005
commit f847ae000b
2 changed files with 6 additions and 5 deletions

View File

@ -107,6 +107,7 @@ if SITE == 'rdrama.net':
RED_ID = 1577
LAWLZ_ID = 3833
LLM_ID = 253
DAD_ID = 2513
elif SITE == "pcmemes.net":
BASEDBOT_ACCOUNT = 800
NOTIFICATIONS_ACCOUNT = 1046
@ -121,6 +122,7 @@ elif SITE == "pcmemes.net":
RED_ID = 1577
LAWLZ_ID = 0
LLM_ID = 0
DAD_ID = 0
else:
NOTIFICATIONS_ACCOUNT = 1
AUTOJANNY_ACCOUNT = 2
@ -134,6 +136,7 @@ else:
RED_ID = 0
LAWLZ_ID = 0
LLM_ID = 0
DAD_ID = 0
PUSHER_INSTANCE_ID = '02ddcc80-b8db-42be-9022-44c546b4dce6'
PUSHER_KEY = environ.get("PUSHER_KEY", "").strip()

View File

@ -27,9 +27,9 @@ def check_for_alts(current_id):
session["history"] = list(past_accs)
for past_id in session["history"]:
if past_id == current_id:
continue
if past_id == DAD_ID or current_id == DAD_ID: break
if past_id == current_id: continue
check1 = g.db.query(Alt).filter_by(
user1=current_id, user2=past_id).first()
@ -72,8 +72,6 @@ def check_for_alts(current_id):
g.db.add(new_alt)
g.db.flush()
# login post procedure
@app.post("/login")
@limiter.limit("1/second")