From d0a229c899c3af78e4b615f1f69ac672669ecfe4 Mon Sep 17 00:00:00 2001 From: skull132 Date: Sun, 7 Feb 2016 16:46:28 +0200 Subject: [PATCH] Fixing handle_ban_mirroring() It was supposed to pass a list into the Execute() proc, but wasn't. --- code/modules/admin/DB ban/ban_mirroring.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/DB ban/ban_mirroring.dm b/code/modules/admin/DB ban/ban_mirroring.dm index a2be1c78074..588acbdfccb 100644 --- a/code/modules/admin/DB ban/ban_mirroring.dm +++ b/code/modules/admin/DB ban/ban_mirroring.dm @@ -49,7 +49,7 @@ if (bad_data) var/DBQuery/new_mirror = dbcon.NewQuery("INSERT INTO ss13_ban_mirrors (ban_id, player_ckey, ban_mirror_ip, ban_mirror_computerid, ban_mirror_datetime) VALUES (:ban_id, :ckey, :address, :computerid, NOW())") - new_mirror.Execute(":ban_id" = ban_id, ":ckey" = ckey, ":address" = address, ":computerid" = computer_id) + new_mirror.Execute(list(":ban_id" = ban_id, ":ckey" = ckey, ":address" = address, ":computerid" = computer_id)) log_misc("Mirrored ban #[ban_id] for player [ckey] from [address]-[computer_id].")