From e631f2ee0c53b3030c9f19958103f90e318d92ce Mon Sep 17 00:00:00 2001
From: victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>
Date: Fri, 9 May 2003 16:27:29 +0000
Subject: fix err show

git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
---
 pttbbs/mbbsd/user.c | 6 ++++--
 1 file 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)
 	   "                �Ȧ�b��: %d �Ȩ�\n",
 	   u->userid, u->username, u->realname,
 	   u->uflag2 & FOREIGN ? "(�~�y: " : "",
-	   u->uflag2 & LIVERIGHT ? "�ä[�~�d)" : "�����o�~�d�v)",
+	   u->uflag2 & FOREIGN ?
+		(u->uflag2 & LIVERIGHT) ? "�ä[�~�d)" : "�����o�~�d�v)"
+		: "",
 	   u->address, u->email,
 	   sex[u->sex % 8], u->money);
 
-- 
cgit v1.2.3