Surplus_Up (2DU) 6 лет назад
Родитель
Сommit
e0032d3412
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      route/give_history_add.py

+ 2 - 0
route/give_history_add.py

@@ -8,6 +8,8 @@ def give_history_add_2(conn, name):
         return re_error('/ban')
 
     if flask.request.method == 'POST':
+        admin_check(None, 'history_add (' + name + ')')
+
         today = get_time()
         content = flask.request.form.get('content', '')
         content = savemark(content)