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:
Bm0n
2025-06-04 12:51:55 +00:00
committed by GitHub
co-authored by Paul Bmon Burzah
parent 4105bc0e4b
commit 4c2928a2bb
+2 -2
View File
@@ -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)