limit my awards number to 100

master
Aevann1 2022-08-17 08:26:07 +02:00
parent ce302127ab
commit a571ab3e69
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ def admin_userawards_post(v):
if value:
if int(value) > 10 and v.id != AEVANN_ID: abort(403)
if int(value) > 100 or (int(value) > 10 and v.id != AEVANN_ID): abort(403)
if int(value): notify_awards[key] = int(value)