fix redeeming inactive redeem
This commit is contained in:
parent
739438f28b
commit
b08371838f
|
@ -19,6 +19,7 @@ def handle_redeem(message, user_id):
|
||||||
return
|
return
|
||||||
if not is_redeem_active(redeem):
|
if not is_redeem_active(redeem):
|
||||||
send_chat("Can't redeem, redeem is currently not active.")
|
send_chat("Can't redeem, redeem is currently not active.")
|
||||||
|
return
|
||||||
|
|
||||||
db = get_db()
|
db = get_db()
|
||||||
price = current_app.config['REDEEMS'][redeem]["price"]
|
price = current_app.config['REDEEMS'][redeem]["price"]
|
||||||
|
|
Loading…
Reference in New Issue