summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-03 10:48:57 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-03 10:48:57 +0800
commit332d5e7882804269784b976f1cb468d69c21af37 (patch)
tree7bfc8c51c50e3da6e3551c45db3a7c340ae86f11
parent071a67366207fd12a90d4848fa129646e2fa98a9 (diff)
downloadpttbbs-332d5e7882804269784b976f1cb468d69c21af37.tar
pttbbs-332d5e7882804269784b976f1cb468d69c21af37.tar.gz
pttbbs-332d5e7882804269784b976f1cb468d69c21af37.tar.bz2
pttbbs-332d5e7882804269784b976f1cb468d69c21af37.tar.lz
pttbbs-332d5e7882804269784b976f1cb468d69c21af37.tar.xz
pttbbs-332d5e7882804269784b976f1cb468d69c21af37.tar.zst
pttbbs-332d5e7882804269784b976f1cb468d69c21af37.zip
limit nLines
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@820 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 2dba2da1..af285004 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.126 2003/05/02 13:22:09 victor Exp $ */
+/* $Id: board.c,v 1.127 2003/05/03 02:48:57 victor Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -1259,7 +1259,7 @@ choose_board(int newflag)
break;
case 'L':
if (HAS_PERM(PERM_BASIC)) {
- if(fav->nDatas > FAVMAX){
+ if(fav->nDatas > FAVMAX || fav->nLines <= -127){
vmsg("你的最愛太多了啦 真花心");
break;
}