summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-08 05:13:24 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-08 05:13:24 +0800
commit3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b (patch)
tree4295bd92354c65148b6294e1733f8ffaeb94e992 /mbbsd
parente520cb630aac4e39c246d71864be7cf84ed93c4c (diff)
downloadpttbbs-3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b.tar
pttbbs-3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b.tar.gz
pttbbs-3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b.tar.bz2
pttbbs-3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b.tar.lz
pttbbs-3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b.tar.xz
pttbbs-3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b.tar.zst
pttbbs-3b3a2ac7f168b4f1a14caa4c93da4b9f1e4d067b.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1718 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/admin.c4
-rw-r--r--mbbsd/register.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index efea1be5..88d3f181 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -426,9 +426,9 @@ m_mod_board(char *bname)
clear();
}
}
- getdata_str(b_lines - 1, 0, msg_sure_ny, genbuf, 4, LCECHO, "N");
+ getdata(b_lines - 1, 0, "½Ð±z½T©w(Y/N)¡H[Y]", genbuf, 4, LCECHO);
- if ((*genbuf == 'y') && memcmp(&newbh, &bh, sizeof(bh))) {
+ if ((*genbuf != 'n') && memcmp(&newbh, &bh, sizeof(bh))) {
if (strcmp(bh.brdname, newbh.brdname)) {
char src[60], tar[60];
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 10ba80f9..7c7f4bf8 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -266,6 +266,7 @@ new_register()
}
newuser.userlevel = PERM_DEFAULT;
newuser.uflag = COLOR_FLAG | BRDSORT_FLAG | MOVIE_FLAG;
+ newuser.uflag2 = 0;
newuser.firstlogin = newuser.lastlogin = now;
newuser.money = 0;
newuser.pager = 1;