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
commit7ff23307751ae09c504d6586ceaefa650c7d62e1 (patch)
tree1f5ca7ab091d5ae40b31daa807b37be7ec5b8362
parentbaa32eb2319a30084c5f2144f50db4a227033afb (diff)
downloadpttbbs-7ff23307751ae09c504d6586ceaefa650c7d62e1.tar
pttbbs-7ff23307751ae09c504d6586ceaefa650c7d62e1.tar.gz
pttbbs-7ff23307751ae09c504d6586ceaefa650c7d62e1.tar.bz2
pttbbs-7ff23307751ae09c504d6586ceaefa650c7d62e1.tar.lz
pttbbs-7ff23307751ae09c504d6586ceaefa650c7d62e1.tar.xz
pttbbs-7ff23307751ae09c504d6586ceaefa650c7d62e1.tar.zst
pttbbs-7ff23307751ae09c504d6586ceaefa650c7d62e1.zip
fix bug, to move fav outside the fav mode (thanks lihgong.bbs@ptt2)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 7b959286..415dabe1 100644
--- a/mbbsd/board.c
+++ b/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':