summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-31 15:17:42 +0800
committerlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-31 15:17:42 +0800
commit771388914b4def435a977c54104118ae10447cb0 (patch)
tree116256cbe6e02fc653799952d383b903fff50704
parent73452a673c51c9e363789abbfc3d0dec85581142 (diff)
downloadpttbbs-771388914b4def435a977c54104118ae10447cb0.tar
pttbbs-771388914b4def435a977c54104118ae10447cb0.tar.gz
pttbbs-771388914b4def435a977c54104118ae10447cb0.tar.bz2
pttbbs-771388914b4def435a977c54104118ae10447cb0.tar.lz
pttbbs-771388914b4def435a977c54104118ae10447cb0.tar.xz
pttbbs-771388914b4def435a977c54104118ae10447cb0.tar.zst
pttbbs-771388914b4def435a977c54104118ae10447cb0.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@263 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/talk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 113f4c16..c56c5d2a 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.51 2002/05/31 03:22:31 in2 Exp $ */
+/* $Id: talk.c,v 1.52 2002/05/31 07:17:42 lwms Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -415,7 +415,7 @@ int my_query(char *uident)
prints("《上次上站》%-28.28s《上次故鄉》%s\n",
Cdate(&muser.lastlogin),
(muser.lasthost[0] ? muser.lasthost : "(不詳)"));
- if ((uentp && fri_stat&HFM) || HAS_PERM(PERM_SYSOP))
+ if ((uentp && fri_stat&HFM && !uentp->invisible) || HAS_PERM(PERM_SYSOP))
prints("《 性 別 》%-28.28s《私有財產》%ld 銀兩\n",
sex[muser.sex % 8],
muser.money);