forked from MarseyWorld/MarseyWorld
don't show jannies flairing in the modlog
parent
76be409dbd
commit
b71d55cfb9
|
@ -29,6 +29,7 @@ def flag_post(pid, v):
|
||||||
if reason.startswith('!') and (v.admin_level > 1 or post.sub and v.mods(post.sub)):
|
if reason.startswith('!') and (v.admin_level > 1 or post.sub and v.mods(post.sub)):
|
||||||
post.flair = reason[1:]
|
post.flair = reason[1:]
|
||||||
g.db.add(post)
|
g.db.add(post)
|
||||||
|
if v.admin_level > 1:
|
||||||
ma=ModAction(
|
ma=ModAction(
|
||||||
kind="flair_post",
|
kind="flair_post",
|
||||||
user_id=v.id,
|
user_id=v.id,
|
||||||
|
|
Loading…
Reference in New Issue