diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-02-02 20:35:55 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-02-02 20:35:55 +0800 |
commit | 643e453cf2e0d8363e8767d7cd6a18797b50c057 (patch) | |
tree | 0ffe9e2eb18649ed7b6d540ce86a54db64e69014 | |
parent | 8212b34a8810a637cc6f0590183f34a2abc447ec (diff) | |
download | pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.gz pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.bz2 pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.lz pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.xz pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.tar.zst pttbbs-643e453cf2e0d8363e8767d7cd6a18797b50c057.zip |
Confirm before removing boards from fav.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 587f015d..95db3b75 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -905,8 +905,10 @@ choose_board(int newflag) break; case Ctrl('D'): if (HasUserPerm(PERM_LOGINOK)) { - fav_remove_all_tagged_item(); - brdnum = -1; + if (getans("刪除所有標記[N]?") == 'y'){ + fav_remove_all_tagged_item(); + brdnum = -1; + } } break; case Ctrl('A'): |