From 2ea54facc2cb430185eca085ec7fa3481ee90fcc Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 10 Apr 2007 20:12:47 +0000
Subject: [PATCH] Don't notify users of messages received for them in the "Bad
 echo" area.

---
 src/sbbs3/sbbsecho.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c
index 7859060564..d4ae638e1b 100644
--- a/src/sbbs3/sbbsecho.c
+++ b/src/sbbs3/sbbsecho.c
@@ -4615,7 +4615,8 @@ int main(int argc, char **argv)
 				if(j==0) {		/* Successful import */
 					echomail++;
 					cfg.area[i].imported++;
-					if(misc&NOTIFY_RECEIPT && (m=matchname(hdr.to))!=0) {
+					/* Should this check if the user has access to the echo in question? */
+					if(i!=cfg.badecho && misc&NOTIFY_RECEIPT && (m=matchname(hdr.to))!=0) {
 						sprintf(str
 						,"\7\1n\1hSBBSecho: \1m%.*s \1n\1msent you EchoMail on "
 							"\1h%s \1n\1m%s\1n\r\n"
-- 
GitLab