use lower case

main
lza_menace 3 years ago
parent 62e9ff8049
commit 64edbd649e

@ -23,7 +23,7 @@ def add(address):
""" """
Add server moderators by address. Add server moderators by address.
""" """
user = User.query.filter(User.public_address == address).first() user = User.query.filter(User.public_address == address.lower()).first()
if user: if user:
if not user.moderator: if not user.moderator:
user.moderator = True user.moderator = True

Loading…
Cancel
Save