[MIRROR] stops people using message all when their pda doesn't allow it (#3489)

* stop people using message all when their pda doesn't allow it (#57005)

Fixes not checking for Send All permissions in Topic.

* stops people using message all when their pda doesn't allow it

Co-authored-by: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-02-18 19:20:12 +00:00
committed by GitHub
co-authored by Timothy Teakettle
parent 8780ab6e49
commit 89f140c760
+2 -1
View File
@@ -617,7 +617,8 @@ GLOBAL_LIST_EMPTY(PDAs)
sort_by_job = !sort_by_job
if("MessageAll")
send_to_all(U)
if(cartridge?.spam_enabled)
send_to_all(U)
if("cart")
if(cartridge)