From 0c2cf25f700255e7d7012c5ad83367d58bf12bea Mon Sep 17 00:00:00 2001 From: skull132 Date: Wed, 18 Feb 2015 22:13:24 +0200 Subject: [PATCH] Emergency Hotfix Bans should now work, and not feed errors. --- code/modules/admin/IsBanned.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/IsBanned.dm b/code/modules/admin/IsBanned.dm index e94ce393..eaae56ad 100644 --- a/code/modules/admin/IsBanned.dm +++ b/code/modules/admin/IsBanned.dm @@ -108,8 +108,8 @@ world/IsBanned(key,address,computer_id) var/desc = "\nReason: You, or another user of this computer or connection ([pckey]) is banned from playing here. The ban reason is:\n[reason]\nThis ban was applied by [ackey] on [bantime], [expires]" - log_access("Failed Login: [key] [computer_id] [address] - Banned [.["reason"]]") - message_admins("\blue Failed Login: [key] id:[computer_id] ip:[address] - Banned [.["reason"]]") + log_access("Failed Login: [key] [computer_id] [address] - Banned [reason]") + message_admins("\blue Failed Login: [key] id:[computer_id] ip:[address] - Banned [reason]") return list("reason"="[bantype]", "desc"="[desc]")