Updated BBS to use single bulletins routine
This commit is contained in:
parent
9dcd515b12
commit
44d4a65029
12
bbs.c
12
bbs.c
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user