diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/board.c | 3 | ||||
-rw-r--r-- | mbbsd/brc.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 800411fc..446f1103 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -50,7 +50,8 @@ void imovefav(int old) void init_brdbuf() { - brc_initialize(); + if (brc_initialize()) + return; brc_initial_board(DEFAULT_BOARD); set_board(); } diff --git a/mbbsd/brc.c b/mbbsd/brc.c index 9237c24f..cb5432cc 100644 --- a/mbbsd/brc.c +++ b/mbbsd/brc.c @@ -293,14 +293,15 @@ brc_finalize(){ } } -void +int brc_initialize(){ static char done = 0; if (done) - return; + return 1; done = 1; brc_expire_time = login_start_time - 365 * 86400; read_brc_buf(); + return 0; } int |