master
Aevann1 2022-04-19 19:50:13 +02:00
parent e49889e944
commit c60adf958a
1 changed files with 2 additions and 2 deletions

View File

@ -1531,10 +1531,10 @@ def admin_distinguish_comment(c_id, v):
if comment.distinguish_level: if comment.distinguish_level:
comment.distinguish_level = 0 comment.distinguish_level = 0
kind = 'distinguish_comment' kind = 'undistinguish_comment'
else: else:
comment.distinguish_level = v.admin_level comment.distinguish_level = v.admin_level
kind = 'undistinguish_comment' kind = 'distinguish_comment'
g.db.add(comment) g.db.add(comment)