mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Makes ban notes public (#28946)
* first commit * Update code/modules/admin/topic.dm Co-authored-by: Paul <90473506+pwbokie@users.noreply.github.com> Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Bmon <no@email.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Paul <90473506+pwbokie@users.noreply.github.com>
This commit is contained in:
@@ -787,7 +787,7 @@
|
||||
msg = job
|
||||
else
|
||||
msg += ", [job]"
|
||||
add_note(M.last_known_ckey, "Banned from [msg] - [reason]", null, usr.ckey, 0)
|
||||
add_note(M.last_known_ckey, "Banned from [msg] - [reason]", null, usr.ckey, 0, public = TRUE)
|
||||
message_admins("<span class='notice'>[key_name_admin(usr)] banned [key_name_admin(M)] from [msg] for [mins] minutes</span>", 1)
|
||||
|
||||
// Reload their job ban holder (refresh this round)
|
||||
@@ -810,7 +810,7 @@
|
||||
msg = job
|
||||
else
|
||||
msg += ", [job]"
|
||||
add_note(M.last_known_ckey, "Banned from [msg] - [reason]", null, usr.ckey, 0)
|
||||
add_note(M.last_known_ckey, "Banned from [msg] - [reason]", null, usr.ckey, 0, public = TRUE)
|
||||
message_admins("<span class='notice'>[key_name_admin(usr)] banned [key_name_admin(M)] from [msg]</span>", 1)
|
||||
|
||||
// Reload their job ban holder (refresh this round)
|
||||
|
||||
Reference in New Issue
Block a user