Manual bans will now add notes automatically

Just some QoL. You should still avoid those if you can help it, though.
This commit is contained in:
Tkdrg
2015-12-26 10:59:06 -03:00
parent f83b1ccb24
commit dbc6dc5957
+1
View File
@@ -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)