Skip to content
Snippets Groups Projects
Commit 5cf3ca2a authored by deuce's avatar deuce
Browse files

Remove unneeded check when reloading the list after leaving the program

settings.
parent a0c0f488
Branches
Tags
No related merge requests found
......@@ -1939,7 +1939,7 @@ struct bbslist *show_bbslist(char *current, int connected)
break;
case 3: /* Program settings */
change_settings();
load_bbslist(list, sizeof(list), &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, (listcount && list[opt])?strdup(list[opt]->name):NULL);
load_bbslist(list, sizeof(list), &defaults, settings.list_path, sizeof(settings.list_path), shared_list, sizeof(shared_list), &listcount, &opt, &bar, list[opt]?strdup(list[opt]->name):NULL);
oldopt=-1;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment