summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 92377e37..2d71bbd6 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1024,9 +1024,15 @@ user_login(void)
if(cuser.uflag2 & FAVNEW_FLAG) {
fav_load();
- /* subscribe new fav (deprecated) */
- if (get_fav_root() != NULL)
- updatenewfav(1);
+ if (get_fav_root() != NULL) {
+ int num;
+ num = updatenewfav(1);
+ if (num > NEW_FAV_THRESHOLD &&
+ getans("將新加入我的最愛的看板數達到 %d 個,確定要加入?[N/y]", num) != 'y') {
+ fav_free();
+ fav_load();
+ }
+ }
}
for (i = 0; i < NUMVIEWFILE; i++)