mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
Merge pull request #14262 from timothyteakettle/lawyer-message-all-href
stops people using Message All on PDAs when their cartridge doesn't allow it
This commit is contained in:
@@ -665,7 +665,8 @@ GLOBAL_LIST_EMPTY(PDAs)
|
||||
create_message(U, locate(href_list["target"]))
|
||||
|
||||
if("MessageAll")
|
||||
send_to_all(U)
|
||||
if(cartridge?.spam_enabled)
|
||||
send_to_all(U)
|
||||
|
||||
if("toggle_block")
|
||||
toggle_blocking(usr, href_list["target"])
|
||||
|
||||
Reference in New Issue
Block a user