diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c
index 319e4b1e068caeb068557520f4364cbb37660498..b697eacbef5fbfca4001852cea3b2470b8b1b54b 100644
--- a/src/sbbs3/sbbsecho.c
+++ b/src/sbbs3/sbbsecho.c
@@ -1051,7 +1051,11 @@ void alter_config(faddr_t addr, char *old, char *new, int option)
 				for(j=k=0;j<cfg.nodecfgs;j++) {
 					if(j==i)
 						continue;
-					if(!stricmp(cfg.arcdef[cfg.nodecfg[j].arctype].name,tmp2)) {
+					if(cfg.nodecfg[j].arctype < cfg.arcdefs)
+						tp = cfg.arcdef[cfg.nodecfg[j].arctype].name;
+					else
+						tp = "NONE";
+					if(!stricmp(tp,tmp2)) {
 						if(!k) {
 							fprintf(outfile,"%-10s %s",tmp,tmp2);
 							k++; }