From ea32e235abb6c07e4c2595382d51d487251977c5 Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Fri, 3 Jan 2014 01:09:06 -0600 Subject: [PATCH] Admins can now put a reason for booting someone from the server. Virgie requested feature. --- code/modules/admin/topic.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 43dc61c73f9..bcf7845c90e 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -804,7 +804,11 @@ if (ismob(M)) if(!check_if_greater_rights_than(M.client)) return - M << "\red You have been kicked from the server" + var/reason = input("Please enter reason") + if(!reason) + M << "\red You have been kicked from the server" + else + M << "\red You have been kicked from the server: [reason]" log_admin("[key_name(usr)] booted [key_name(M)].") message_admins("\blue [key_name_admin(usr)] booted [key_name_admin(M)].", 1) //M.client = null