forked from rDrama/rDrama
fddf
parent
0a8895adee
commit
486adfd619
|
@ -222,9 +222,9 @@ def mod_remove_username(bid, username, board, v):
|
||||||
@public("read")
|
@public("read")
|
||||||
def board_about_mods(v):
|
def board_about_mods(v):
|
||||||
|
|
||||||
g.db.query(Board).first()
|
board = g.db.query(Board).first()
|
||||||
|
|
||||||
me = board.has_mod(v)
|
me = (v.admin_level == 6)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"html":lambda:render_template("mods.html", v=v, b=board, me=me),
|
"html":lambda:render_template("mods.html", v=v, b=board, me=me),
|
||||||
|
|
Loading…
Reference in New Issue