master
Aevann 2024-06-25 23:29:55 +03:00
parent c3c23f7957
commit 4dd90e8ac6
1 changed files with 1 additions and 1 deletions

View File

@ -1471,7 +1471,7 @@ def pin_post(post_id, v):
send_repeatable_notification(post.author_id, f"@{v.username} (a site admin) has pinned {post.textlink}")
else:
if permapinned >= PIN_LIMIT:
abort(403, f"Can't have more than {PIN_LIMIT} perma-pinned posts!")
abort(403, f"Can't have more than {PIN_LIMIT} permapinned posts!")
post.pinned_utc = None
pin_time = 'permanently'
code = 201