From c5cd856ffb6076093e0eaf8186c6f4905a105989 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 25 May 2002 09:33:22 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@218 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd/board.c') diff --git a/mbbsd/board.c b/mbbsd/board.c index 2d774033..910322d8 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.20 2002/05/25 06:28:21 ptt Exp $ */ +/* $Id: board.c,v 1.21 2002/05/25 09:33:22 ptt Exp $ */ #include #include #include @@ -705,7 +705,7 @@ void setutmpbid(int bid) } else bcache[id-1].u=currutmp->nextbfriend; - bcache[id-1].nuser--; + if(bcache[id-1].nuser>0) bcache[id-1].nuser--; brdshm->busystate_b[id-1]=0; } } -- cgit v1.2.3