summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-03 11:37:39 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-03 11:37:39 +0800
commit89d453055f6fac7fd67c0f7148d429f51356e6eb (patch)
tree8d8d90feb426f9e45ed3b7f3538d715eacfb26ac
parentacaf8e6819cb70e431e5f8cba9667bc98fac6f6c (diff)
downloadpttbbs-89d453055f6fac7fd67c0f7148d429f51356e6eb.tar
pttbbs-89d453055f6fac7fd67c0f7148d429f51356e6eb.tar.gz
pttbbs-89d453055f6fac7fd67c0f7148d429f51356e6eb.tar.bz2
pttbbs-89d453055f6fac7fd67c0f7148d429f51356e6eb.tar.lz
pttbbs-89d453055f6fac7fd67c0f7148d429f51356e6eb.tar.xz
pttbbs-89d453055f6fac7fd67c0f7148d429f51356e6eb.tar.zst
pttbbs-89d453055f6fac7fd67c0f7148d429f51356e6eb.zip
fix bug, to move fav outside the fav mode (thanks lihgong.bbs@ptt2)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@1001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c
index 7b959286..415dabe1 100644
--- a/pttbbs/mbbsd/board.c
+++ b/pttbbs/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.131 2003/07/03 03:26:34 victor Exp $ */
+/* $Id: board.c,v 1.132 2003/07/03 03:37:39 victor Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -1316,9 +1316,9 @@ choose_board(int newflag)
}
break;
case 'M':
- if (HAS_PERM(PERM_BASIC)) {
+ if (HAS_PERM(PERM_BASIC) && class_bid == 0 && yank_flag == 0){
imovefav(num);
- head = 9999;
+ head = 9999;
}
break;
case 'K':