summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index f6d35a6c..5379d0be 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -134,7 +134,6 @@ search_key_user(char *passwdfile, int mode)
fclose(fp1);
return 0;
} else {
- move(b_lines - 1, 0);
getdata(0, 0,
"�ثe�� PASSWD �ɨS���� ID�A�s�W�ܡH[y/N]",
genbuf, 3, LCECHO);
@@ -705,6 +704,7 @@ m_newbrd(int recover)
}
add_board_record(&newboard);
+ getbcache(class_bid)->childcount = 0;
pressanykey();
setup_man(&newboard);
@@ -954,15 +954,13 @@ scan_register_form(char *regfile, int automode, int neednum)
prints("%d.%-12s�G%s\n", n - 2, finfo[n], fdata[n]);
}
if (muser.userlevel & PERM_LOGINOK) {
- getdata(b_lines - 1, 0, "\033[1;32m���b���w�g�������U, "
- "��s(Y/N/Skip)�H\033[m[N] ", ans, sizeof(ans), LCECHO);
+ ans[0]=getans("���b���w�g�������U, "
+ "��s(Y/N/Skip)�H[N] ");
if (ans[0] != 'y' && ans[0] != 's')
ans[0] = 'd';
} else {
- move(b_lines - 1, 0);
- prints("�O�_���������(Y/N/Q/Del/Skip)�H[S] ");
if (search_ulist(unum) == NULL)
- ans[0] = igetch();
+ ans[0] = getans("�O�_���������(Y/N/Q/Del/Skip)�H[S] ");
else
ans[0] = 's';
if ('A' <= ans[0] && ans[0] <= 'Z')
@@ -1160,10 +1158,9 @@ cat_register()
{
if (system("cat register.new.tmp >> register.new") == 0 &&
system("rm -f register.new.tmp") == 0)
- mprints(22, 0, "OK �P~~ �~��h���a!!");
+ vmsg("OK �P~~ �~��h���a!!");
else
- mprints(22, 0, "�S��kCAT�L�h�O �h�ˬd�@�U�t�Χa!!");
- pressanykey();
+ vmsg("�S��kCAT�L�h�O �h�ˬd�@�U�t�Χa!!");
return 0;
}