From 61d5549ac32fa055e2aa41e3e6d2d667fbe7ac92 Mon Sep 17 00:00:00 2001 From: Jordie <4343468+Jordie0608@users.noreply.github.com> Date: Sun, 12 Jul 2020 03:15:01 +1000 Subject: [PATCH] fix missing comma and argument name in edit query (#52127) Co-authored-by: Jordie0608 <=> --- code/modules/admin/sql_ban_system.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index d4922e8299c..fe592767843 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -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)