fix missing comma and argument name in edit query (#52127)

Co-authored-by: Jordie0608 <=>
This commit is contained in:
Jordie
2020-07-12 03:15:01 +10:00
committed by GitHub
parent 0533043598
commit 61d5549ac3
+2 -2
View File
@@ -838,12 +838,12 @@
var/datum/db_query/query_edit_ban = SSdbcore.NewQuery({"
UPDATE [format_table_name("ban")]
SET
expiration_time = IF(:duration IS NULL, NULL, bantime + INTERVAL :duration [interval])
expiration_time = IF(:duration IS NULL, NULL, bantime + INTERVAL :duration [interval]),
applies_to_admins = :applies_to_admins,
reason = :reason,
ckey = :ckey,
ip = INET_ATON(:ip),
computerid = :ci
computerid = :cid,
edits = CONCAT(IFNULL(edits,''), :change_message)
WHERE [where]
"}, arguments)