Commit d254cdba authored by rswindell's avatar rswindell
Browse files

Some echolists (e.g. linuxnet.na) use '%' for comments (rather than ';') so...

Some echolists (e.g. linuxnet.na) use '%' for comments (rather than ';') so just ignore any lines in imported echolists that begin with a non-alpha-numeric character.
parent cbb3640a
...@@ -295,7 +295,7 @@ long import_msg_areas(enum import_list_type type, FILE* stream, unsigned grpnum ...@@ -295,7 +295,7 @@ long import_msg_areas(enum import_list_type type, FILE* stream, unsigned grpnum
else { else {
char* p=str; char* p=str;
SKIP_WHITESPACE(p); SKIP_WHITESPACE(p);
if(!*p || *p==';') if(!*p || !isalnum(*p))
continue; continue;
if(type == IMPORT_LIST_TYPE_GENERIC_AREAS_BBS) { /* AREAS.BBS Generic/.MSG */ if(type == IMPORT_LIST_TYPE_GENERIC_AREAS_BBS) { /* AREAS.BBS Generic/.MSG */
p=str; p=str;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment