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
commit56024c90ccb11792b3d0fea986af7fb9fb88fb0d (patch)
tree090ecb1bfc95bf28267451599298e06f3be13e67
parent126b582e2155d3f100b4fde2a794fad0939d0e1d (diff)
downloadpttbbs-56024c90ccb11792b3d0fea986af7fb9fb88fb0d.tar
pttbbs-56024c90ccb11792b3d0fea986af7fb9fb88fb0d.tar.gz
pttbbs-56024c90ccb11792b3d0fea986af7fb9fb88fb0d.tar.bz2
pttbbs-56024c90ccb11792b3d0fea986af7fb9fb88fb0d.tar.lz
pttbbs-56024c90ccb11792b3d0fea986af7fb9fb88fb0d.tar.xz
pttbbs-56024c90ccb11792b3d0fea986af7fb9fb88fb0d.tar.zst
pttbbs-56024c90ccb11792b3d0fea986af7fb9fb88fb0d.zip
limit nLines
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@820 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c
index 2dba2da1..af285004 100644
--- a/pttbbs/mbbsd/board.c
+++ b/pttbbs/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;
}