limit stalker award to 25 to prevent 404 images

pull/213/head
Aevann 2023-10-11 19:30:14 +03:00
parent 223e4bf71f
commit 19754f0213
1 changed files with 3 additions and 0 deletions

View File

@ -265,6 +265,9 @@ class Post(Base):
if kind in {"gingerbread", "pumpkin"}:
return min(num, 10)
if kind == "stalker":
return min(num, 25)
return min(num, 4)
@lazy