Updated BBS to use single bulletins routine

This commit is contained in:
Andrew Pamment 2017-09-09 13:32:17 +10:00
parent 9dcd515b12
commit 44d4a65029

12
bbs.c
View File

@ -866,17 +866,7 @@ tryagain:
if (do_internal_login == 1) { if (do_internal_login == 1) {
// bulletins // bulletins
i = 0; display_bulletins();
sprintf(buffer, "%s/bulletin%d.ans", conf.ansi_path, i);
while (stat(buffer, &s) == 0) {
sprintf(buffer, "bulletin%d", i);
s_displayansi(buffer);
s_printf(get_string(6));
s_getc();
i++;
sprintf(buffer, "%s/bulletin%d.ans", conf.ansi_path, i);
}
// external login cmd // external login cmd