From ad0479b532bbc70b35804cce347764dfcc9c6df5 Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 29 Oct 2003 11:24:59 +0000 Subject: fix wrong perm checking in query mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1276 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 84728632..80107ec2 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -357,7 +357,7 @@ my_query(char *uident) muser.username, 26 - strlen(muser.userid) - strlen(muser.username), "", money[i]); - if ((uentp && ((fri_stat & HFM) || strcmp(muser.userid,cuser.userid) == 0) && !uentp->invisible)) + if (uentp && ((fri_stat & HFM && !uentp->invisible) || strcmp(muser.userid,cuser.userid) == 0)) prints(" ($%d)", muser.money); prints("\n"); -- cgit v1.2.3