From 128229c12ed172f73f7dce576fec4c80f9141f05 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 6 Apr 2019 12:22:51 -0400 Subject: [PATCH] Ports kick fix early --- code/modules/admin/topic.dm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 0fdccdc534f..3252219086b 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -790,13 +790,13 @@ if (ismob(M)) if(!check_if_greater_rights_than(M.client)) return - var/reason = sanitize(input("Please enter reason")) + var/reason = sanitize(input("Please enter reason.") as null|message) if(!reason) - M << "You have been kicked from the server" - else - M << "You have been kicked from the server: [reason]" - log_admin("[key_name(usr)] booted [key_name(M)].") - message_admins("[key_name_admin(usr)] booted [key_name_admin(M)].", 1) + return + + to_chat(M, span("critical", "You have been kicked from the server: [reason]")) + log_admin("[key_name(usr)] booted [key_name(M)] for reason: '[reason]'.") + message_admins("[key_name_admin(usr)] booted [key_name_admin(M)] for reason '[reason]'.", 1) //M.client = null qdel(M.client)