This commit is contained in:
Aevann1 2022-01-03 06:08:46 +02:00
parent 61702d44b0
commit 7f1a21e654
3 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
if not pid:
if comment.parent_submission: pid = comment.parent_submission
elif request.host == "rdrama.net": pid = 6489
elif 'pcmemes.net' == request.host: pid = 2487
elif request.host == 'pcmemes.net': pid = 2487
else: pid = 1
try: pid = int(pid)
@ -305,7 +305,7 @@ def api_comment(v):
g.db.add(c_option)
if 'pcmemes.net' == request.host and c.body.lower().startswith("based"):
if request.host == 'pcmemes.net' and c.body.lower().startswith("based"):
pill = re.match("based and (.{1,20}?)(-| )pilled", body, re.IGNORECASE)
if level == 1: basedguy = get_account(c.post.author_id)