summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-08 00:44:18 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-08 00:44:18 +0800
commitd1119be16b4062d4053de8ca800c82c52ddad90d (patch)
tree112c30711236f47d55469662ddc376cb8e422326
parent3e5e3d4078a7f999c56c16742f0ab5684b7a7b83 (diff)
downloadpttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar
pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.gz
pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.bz2
pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.lz
pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.xz
pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.zst
pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.zip
register default to skip
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@3 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/admin.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 14bc9721..54fb017f 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1,4 +1,4 @@
-/* $Id: admin.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: admin.c,v 1.2 2002/03/07 16:44:18 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -812,8 +812,12 @@ int scan_register_form(char *regfile, int automode, int neednum) {
ans[0] = 'd';
} else {
getdata(b_lines - 1, 0,
- "是否接受此資料(Y/N/Q/Del/Skip)?[Y] ",
+ "是否接受此資料(Y/N/Q/Del/Skip)?[S] ",
ans, 3, LCECHO);
+ if( ans[0] != 'y' && ans[0] != 'n' &&
+ ans[0] != 'q' && ans[0] != 'd' )
+ ans[0] = 's';
+ ans[1] = 0;
}
nSelf++;
} else