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
commit0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227 (patch)
treec9e5ee4bcc467eac86e833e9aa0d3788da038c83
parent547664b5427ad388486616be17f271ddcb2ba2ee (diff)
downloadpttbbs-0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227.tar
pttbbs-0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227.tar.gz
pttbbs-0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227.tar.bz2
pttbbs-0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227.tar.lz
pttbbs-0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227.tar.xz
pttbbs-0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227.tar.zst
pttbbs-0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227.zip
fix err show
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 58a67ef3..99a830b0 100644
--- a/mbbsd/user.c
+++ b/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);