From c3c07a00f03e9706dc5deff27c15ace1607733f4 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 26 May 2022 01:09:29 +0200 Subject: [PATCH] [MIRROR] Fixes href exploit to use rwall with any pda. [MDB IGNORE] (#13891) * Fixes href exploit to use rwall with any pda. (#67253) * Fixes href exploit to use rwall with any pda. Co-authored-by: TemporalOroboros --- .../modular_computers/file_system/programs/ntmessenger.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/modular_computers/file_system/programs/ntmessenger.dm b/code/modules/modular_computers/file_system/programs/ntmessenger.dm index 90743a6e490..3d6eb7b6310 100644 --- a/code/modules/modular_computers/file_system/programs/ntmessenger.dm +++ b/code/modules/modular_computers/file_system/programs/ntmessenger.dm @@ -133,6 +133,9 @@ if(!sending_and_receiving) to_chat(usr, span_notice("ERROR: Device has sending disabled.")) return + if(!spam_mode) + to_chat(usr, span_notice("ERROR: Device does not have mass-messaging perms.")) + return var/list/targets = list()