diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-27 09:28:55 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-27 09:28:55 +0800 |
commit | 743837829dfd901322478e1166c9283bfe2e0a18 (patch) | |
tree | 6504cc65725e2c3ee53cfbb651856417f3f29870 /mbbsd | |
parent | 09354eabd150a41f400d184021a991e4a9273353 (diff) | |
download | pttbbs-743837829dfd901322478e1166c9283bfe2e0a18.tar pttbbs-743837829dfd901322478e1166c9283bfe2e0a18.tar.gz pttbbs-743837829dfd901322478e1166c9283bfe2e0a18.tar.bz2 pttbbs-743837829dfd901322478e1166c9283bfe2e0a18.tar.lz pttbbs-743837829dfd901322478e1166c9283bfe2e0a18.tar.xz pttbbs-743837829dfd901322478e1166c9283bfe2e0a18.tar.zst pttbbs-743837829dfd901322478e1166c9283bfe2e0a18.zip |
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
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/talk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |