From 3cdffac133e36a4e445de7e9e8860d4d20fc7c85 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 15 Mar 2023 04:16:41 +0200 Subject: [PATCH] same as last commit --- files/routes/reporting.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/routes/reporting.py b/files/routes/reporting.py index 70d063792..7b3b1fa87 100644 --- a/files/routes/reporting.py +++ b/files/routes/reporting.py @@ -193,6 +193,9 @@ def move_post(post:Submission, v:User, reason:str) -> Union[bool, str]: _note=f'{sub_from_str} → {sub_to_str}', ) g.db.add(ma) + + if sub_to == 'chudrama': + post.bannedfor = None else: ma = SubAction( sub=sub_from,