From 743837829dfd901322478e1166c9283bfe2e0a18 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sun, 27 Mar 2005 01:28:55 +0000 Subject: fix condition of friend test to avoid lookup file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 53e2e061..aad4a45c 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1622,7 +1622,7 @@ friend_descript(const userinfo_t * uentp, char *desc_buf, int desc_buflen) char genbuf[STRLEN]; STATINC(STAT_FRIENDDESC); - if((set_friend_bit(currutmp,uentp)|IFH)==0) + if((set_friend_bit(currutmp,uentp)&IFH)==0) return space_buf; setuserfile(fpath, friend_file[0]); -- cgit v1.2.3