diff --git a/files/helpers/const.py b/files/helpers/const.py index f28e364df..436ddd0f2 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -109,6 +109,7 @@ if SITE == 'rdrama.net': LAWLZ_ID = 3833 LLM_ID = 253 DAD_ID = 2513 + MOM_ID = 4588 elif SITE == "pcmemes.net": BASEDBOT_ID = 800 NOTIFICATIONS_ID = 1046 @@ -124,6 +125,7 @@ elif SITE == "pcmemes.net": LAWLZ_ID = 0 LLM_ID = 0 DAD_ID = 0 + MOM_ID = 0 else: BASEDBOT_ID = 0 NOTIFICATIONS_ID = 1 @@ -139,6 +141,7 @@ else: LAWLZ_ID = 0 LLM_ID = 0 DAD_ID = 0 + MOM_ID = 0 PUSHER_INSTANCE_ID = '02ddcc80-b8db-42be-9022-44c546b4dce6' PUSHER_KEY = environ.get("PUSHER_KEY", "").strip() diff --git a/files/routes/login.py b/files/routes/login.py index d4a99f733..09de77f32 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -28,7 +28,7 @@ def check_for_alts(current_id): for past_id in session["history"]: - if past_id == DAD_ID or current_id == DAD_ID: break + if past_id == MOM_ID or current_id == MOM_ID: break if past_id == current_id: continue check1 = g.db.query(Alt).filter_by(