Skip to content
Snippets Groups Projects
Commit f37c0346 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix stupid inverted logic bug: treating areas.ini as areas.bbs for AreaFix

and vice versa - so area manager requests were broken since I introduced the
areas.ini support. Oops.
parent 6c85be29
No related branches found
No related tags found
No related merge requests found
Pipeline #7223 failed
......@@ -1961,9 +1961,9 @@ void alter_areas(str_list_t add_area, str_list_t del_area, nodecfg_t* nodecfg, c
}
if(areafile_is_ini)
alter_areas_bbs(afilein, afileout, nmfile, add_area, &added, del_area, &deleted, nodecfg, to, rescan);
else
alter_areas_ini(afilein, afileout, nmfile, add_area, &added, del_area, &deleted, nodecfg, to, rescan);
else
alter_areas_bbs(afilein, afileout, nmfile, add_area, &added, del_area, &deleted, nodecfg, to, rescan);
if(add_area[0] != NULL && stricmp(add_area[0],"+ALL")) {
for(u=0;add_area[u]!=NULL;u++)
......
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