fix redeeming inactive redeem

This commit is contained in:
Lili (Tlapka) 2023-03-28 13:05:35 +02:00
parent 739438f28b
commit b08371838f
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ def handle_redeem(message, user_id):
return
if not is_redeem_active(redeem):
send_chat("Can't redeem, redeem is currently not active.")
return
db = get_db()
price = current_app.config['REDEEMS'][redeem]["price"]