From c86ebe6f47f6cd47376cffdcbdcd74f4a48cb81e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 5 Mar 2022 21:28:01 +0200 Subject: [PATCH] fantastic --- files/routes/subs.py | 4 ++-- files/templates/emoji_modal.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/subs.py b/files/routes/subs.py index d27464ea2..3c9739111 100644 --- a/files/routes/subs.py +++ b/files/routes/subs.py @@ -258,7 +258,7 @@ def remove_mod(v, sub): def create_sub(v): if SITE_NAME == 'Drama' and v.id not in (AEVANN_ID, CARP_ID): abort(403) - if v.id == MENTION_ID: cost = 0 + if request.host == 'rdrama.net': cost = 0 else: num = v.subs_created + 1 for a in v.alts: @@ -277,7 +277,7 @@ def create_sub2(v): if not name: abort(400) name = name.strip().lower() - if v.id == MENTION_ID: cost = 0 + if request.host == 'rdrama.net': cost = 0 else: num = v.subs_created + 1 for a in v.alts: diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index d94d16bb1..302e92322 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -94,4 +94,4 @@ - \ No newline at end of file + \ No newline at end of file