From 384204e4b6debf6a4dc09dfc53391044a3fc8741 Mon Sep 17 00:00:00 2001 From: bbs Date: Sun, 20 Jul 2003 01:20:11 +0000 Subject: non-init var git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbbsd/user.c') diff --git a/mbbsd/user.c b/mbbsd/user.c index 39a68c0b..53ea8d19 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1,4 +1,4 @@ -/* $Id: user.c,v 1.71 2003/07/18 11:03:45 victor Exp $ */ +/* $Id: user.c,v 1.72 2003/07/20 01:20:11 bbs Exp $ */ #include "bbs.h" static char *sex[8] = { @@ -1254,6 +1254,8 @@ u_register(void) getfield(2, "Y/n", "¬O§_¬°¥»°êÄy¡H", fore, 2); if (fore[0] == 'n') fore[0] |= FOREIGN; + else + fore[0] = 0; if (!fore[0]){ #endif while( 1 ){ -- cgit v1.2.3