From 1c18cc57d55f568626aff9a3d0c95db7466d1b71 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sun, 13 Jun 2004 19:40:50 +0000
Subject: [PATCH] Bugfix: Ignore kludge lines embedded-in/appended-to areafix
 messages.

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

diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c
index c8bd52e6d0..546df6f122 100644
--- a/src/sbbs3/sbbsecho.c
+++ b/src/sbbs3/sbbsecho.c
@@ -8,7 +8,7 @@
  * @format.tab-size 4		(Plain Text/Source Code File Header)			*
  * @format.use-tabs true	(see http://www.synchro.net/ptsc_hdr.html)		*
  *																			*
- * Copyright 2003 Rob Swindell - http://www.synchro.net/copyright.html		*
+ * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html		*
  *																			*
  * This program is free software; you can redistribute it and/or			*
  * modify it under the terms of the GNU General Public License				*
@@ -1364,6 +1364,10 @@ char *process_areafix(faddr_t addr,char* inbuf,char *password)
 	del_area.tag=NULL;
 	for(l=0;l<m;l++) {
 		while(*(p+l) && *(p+l)<=' ') l++;
+		while(*(p+l)==1) {				/* Ignore kludge lines June-13-2004 */
+			while(*(p+l) && *(p+l)!='\r') l++;
+			continue;
+		}
 		if(!(*(p+l))) break;
 		if(*(p+l)=='+' || *(p+l)=='-' || *(p+l)=='%') {
 			action=*(p+l);
-- 
GitLab