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:
Lin
2021-02-18 23:34:11 -06:00
committed by GitHub

View File

@@ -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"])