From dbc6dc59576e360b5548bca955c7b8df76ded5f6 Mon Sep 17 00:00:00 2001 From: Tkdrg Date: Sat, 26 Dec 2015 10:58:37 -0300 Subject: [PATCH] Manual bans will now add notes automatically Just some QoL. You should still avoid those if you can help it, though. --- code/modules/admin/topic.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index b0d4ec4622c..d1ba6e82acd 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -239,6 +239,7 @@ message_admins("Ban process: A mob matching [playermob.ckey] was found at location [playermob.x], [playermob.y], [playermob.z]. Custom ip and computer id fields replaced with the ip and computer id from the located mob") DB_ban_record(bantype, playermob, banduration, banreason, banjob, null, banckey, banip, bancid ) + add_note(banckey, banreason, null, usr.ckey, 0) else if(href_list["editrights"]) edit_rights_topic(href_list)