mirror of
https://github.com/jwinterm/tubbymemes.git
synced 2026-11-29 11:24:02 +01:00
use lower case
This commit is contained in:
@@ -23,7 +23,7 @@ def add(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 not user.moderator:
|
||||
user.moderator = True
|
||||
|
||||
Reference in New Issue
Block a user