From 64edbd649e4089298edc5e387769e443ed3cdce5 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 10 Mar 2022 23:00:45 -0800 Subject: [PATCH] use lower case --- tubbymemes/cli/mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubbymemes/cli/mod.py b/tubbymemes/cli/mod.py index 1eaf48b..1a966ce 100644 --- a/tubbymemes/cli/mod.py +++ b/tubbymemes/cli/mod.py @@ -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