From fa135a10b38d78eea7d1dd42c472d5c0833f4a00 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 9 May 2017 15:34:56 -0400 Subject: [PATCH] Makes a thing use the right proc (#27071) --- code/modules/admin/IsBanned.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/IsBanned.dm b/code/modules/admin/IsBanned.dm index d6e2b8d1b66..00104140871 100644 --- a/code/modules/admin/IsBanned.dm +++ b/code/modules/admin/IsBanned.dm @@ -62,8 +62,9 @@ var/ckeytext = ckey(key) if(!SSdbcore.Connect()) - log_world("Ban database connection failure. Key [ckeytext] not checked") - GLOB.world_game_log << "Ban database connection failure. Key [ckeytext] not checked" + var/msg = "Ban database connection failure. Key [ckeytext] not checked" + log_world(msg) + message_admins(msg) return var/ipquery = ""