Skip to content
Snippets Groups Projects
Commit b315476f authored by rswindell's avatar rswindell
Browse files

Fix bug reported by Ragnarok:

when importing an echolist (e.g. badareas.lst) file, the storage path of the
template sub-board (if there was one) is cleared. Don't over-ride the template
sub's storage path unless a non-blank storage directory was specified in the
import file (e.g. subs.txt).
parent a1022b06
No related branches found
No related tags found
No related merge requests found
......@@ -370,7 +370,8 @@ long import_msg_areas(enum import_list_type type, FILE* stream, unsigned grpnum
SAFECOPY(cfg.sub[j]->lname,tmpsub.lname);
SAFECOPY(cfg.sub[j]->newsgroup,tmpsub.newsgroup);
SAFECOPY(cfg.sub[j]->qwkname,tmpsub.qwkname);
SAFECOPY(cfg.sub[j]->data_dir,tmpsub.data_dir);
if(tmpsub.data_dir[0])
SAFECOPY(cfg.sub[j]->data_dir,tmpsub.data_dir);
}
if(qhub != NULL)
new_qhub_sub(qhub, qhub->subs, cfg.sub[j], qwk_confnum);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment