diff options
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r-- | mbbsd/talk.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 9769a472..f7721352 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1889,8 +1889,14 @@ pickup(pickup_t * currpickup, int pickup_way, int *page, which = *page * nPickups - *nfriend; if (which < 0) which = 0; + for (; which < utmpnumber && size < nPickups; which++) { - u = &SHM->uinfo[ulist[which]]; + + if (pickup_way == 0) /* [嗨! 朋友] mode */ + u = &SHM->uinfo[which]; /* 有些人用此打廣告,所以不再sort */ + else + u = &SHM->uinfo[ulist[which]]; + friend = friend_stat(currutmp, u); /* TODO isvisible() 重複用到了 friend_stat() */ if ((pickup_way || |