Fixed missing lower() in fines insert/update
This commit is contained in:
parent
f5785699d5
commit
c941b43109
@ -63,7 +63,7 @@ class Rape(DatabasePlugin):
|
||||
insert into
|
||||
users (nick, fines)
|
||||
values
|
||||
(%s, %s)
|
||||
(lower(%s), %s)
|
||||
on conflict (nick) do update set
|
||||
fines = users.fines + excluded.fines
|
||||
returning
|
||||
|
Loading…
Reference in New Issue
Block a user