From a115db7e89c83779769f07044b4b3bb914bcef13 Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 23 Apr 2004 20:19:12 +0000 Subject: a little bug fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 2 +- mbbsd/mbbsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mbbsd/board.c b/mbbsd/board.c index dd7dba76..0c813609 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -470,7 +470,7 @@ show_brdlist(int head, int clsflag, int newflag) if (class_bid == 1) outs(" "); if (!newflag) { - outs("%5d%c%s", head, + prints("%5d%c%s", head, !(B_BH(ptr)->brdattr & BRD_HIDE) ? ' ' : (B_BH(ptr)->brdattr & BRD_POSTMASK) ? ')' : '-', (ptr->myattr & NBRD_TAG) ? "D " : diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index fe8ad16c..8cef890c 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -461,7 +461,7 @@ multi_user_check() log_usies("KICK ", cuser.username); } else { if (search_ulistn(usernum, 3) != NULL) - abort_bbs(); /* Goodbye(); */ + abort_bbs(0); /* Goodbye(); */ } } else { /* allow multiple guest user */ -- cgit v1.2.3