summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/angel.c4
-rw-r--r--pttbbs/mbbsd/talk.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/angel.c b/pttbbs/mbbsd/angel.c
index c0f46e48..6d7e7cf6 100644
--- a/pttbbs/mbbsd/angel.c
+++ b/pttbbs/mbbsd/angel.c
@@ -353,11 +353,13 @@ int a_angelreload() {
inline int
angel_reject_me(userinfo_t * uin){
- // TODO 超級好友怎麼辦?
int* iter = uin->reject;
int unum;
while ((unum = *iter++)) {
if (unum == currutmp->uid) {
+ // 超級好友?
+ if (intbsearch(unum, uin->myfriend, uin->nFriends))
+ return 0;
return 1;
}
}
diff --git a/pttbbs/mbbsd/talk.c b/pttbbs/mbbsd/talk.c
index 79d9edff..9736571a 100644
--- a/pttbbs/mbbsd/talk.c
+++ b/pttbbs/mbbsd/talk.c
@@ -2630,7 +2630,7 @@ userlist(void)
redrawall = redraw = 1;
}
break;
-#endif // PLAY_ANGLE
+#endif // PLAY_ANGEL
case Ctrl('W'):
if (HasBasicUserPerm(PERM_LOGINOK)) {