forked from MarseyWorld/MarseyWorld
add nuke and un-nuke notifications
parent
3bc98f0a6b
commit
f4a6e76ab5
|
@ -1560,6 +1560,8 @@ def admin_nuke_user(v):
|
|||
)
|
||||
g.db.add(ma)
|
||||
|
||||
notify_mod_action(v.id, f"@{v.username} has nuked @{user.username}")
|
||||
|
||||
g.db.commit()
|
||||
|
||||
return redirect(user.url)
|
||||
|
@ -1595,6 +1597,8 @@ def admin_nunuke_user(v):
|
|||
)
|
||||
g.db.add(ma)
|
||||
|
||||
notify_mod_action(v.id, f"@{v.username} has un-nuked @{user.username}")
|
||||
|
||||
g.db.commit()
|
||||
|
||||
return redirect(user.url)
|
||||
|
|
Loading…
Reference in New Issue