diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-24 04:19:12 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-24 04:19:12 +0800 |
commit | a115db7e89c83779769f07044b4b3bb914bcef13 (patch) | |
tree | c0d51be7630baa49dbb53a7866e9fca57585b21d /mbbsd | |
parent | b282f3c6dca2a15ef4da7ee6c1f970e5ae926b67 (diff) | |
download | pttbbs-a115db7e89c83779769f07044b4b3bb914bcef13.tar pttbbs-a115db7e89c83779769f07044b4b3bb914bcef13.tar.gz pttbbs-a115db7e89c83779769f07044b4b3bb914bcef13.tar.bz2 pttbbs-a115db7e89c83779769f07044b4b3bb914bcef13.tar.lz pttbbs-a115db7e89c83779769f07044b4b3bb914bcef13.tar.xz pttbbs-a115db7e89c83779769f07044b4b3bb914bcef13.tar.zst pttbbs-a115db7e89c83779769f07044b4b3bb914bcef13.zip |
a little bug fixed
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/board.c | 2 | ||||
-rw-r--r-- | 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 */ |