summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-10 00:27:29 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-10 00:27:29 +0800
commite631f2ee0c53b3030c9f19958103f90e318d92ce (patch)
tree08f9bac219c787e245f594670a5027cd9c4accc0
parent5b06ab032b6b00c189ed40f5d0efcc48e0a49172 (diff)
downloadpttbbs-e631f2ee0c53b3030c9f19958103f90e318d92ce.tar
pttbbs-e631f2ee0c53b3030c9f19958103f90e318d92ce.tar.gz
pttbbs-e631f2ee0c53b3030c9f19958103f90e318d92ce.tar.bz2
pttbbs-e631f2ee0c53b3030c9f19958103f90e318d92ce.tar.lz
pttbbs-e631f2ee0c53b3030c9f19958103f90e318d92ce.tar.xz
pttbbs-e631f2ee0c53b3030c9f19958103f90e318d92ce.tar.zst
pttbbs-e631f2ee0c53b3030c9f19958103f90e318d92ce.zip
fix err show
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/user.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/user.c b/pttbbs/mbbsd/user.c
index 58a67ef3..99a830b0 100644
--- a/pttbbs/mbbsd/user.c
+++ b/pttbbs/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.54 2003/05/09 13:30:32 victor Exp $ */
+/* $Id: user.c,v 1.55 2003/05/09 16:27:29 victor Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -58,7 +58,9 @@ user_display(userec_t * u, int real)
" 銀行帳戶: %d 銀兩\n",
u->userid, u->username, u->realname,
u->uflag2 & FOREIGN ? "(外籍: " : "",
- u->uflag2 & LIVERIGHT ? "永久居留)" : "未取得居留權)",
+ u->uflag2 & FOREIGN ?
+ (u->uflag2 & LIVERIGHT) ? "永久居留)" : "未取得居留權)"
+ : "",
u->address, u->email,
sex[u->sex % 8], u->money);