summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-29 00:29:26 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-29 00:29:26 +0800
commit7f83ab24bc6209de9db34b8b7894698eb65b1f17 (patch)
tree0ae6efa3df9e6e7fb24c8f228db09702d7c42aa9 /mbbsd/admin.c
parent10706337ff35bf00080907c24a7d66f72e82bfa5 (diff)
downloadpttbbs-7f83ab24bc6209de9db34b8b7894698eb65b1f17.tar
pttbbs-7f83ab24bc6209de9db34b8b7894698eb65b1f17.tar.gz
pttbbs-7f83ab24bc6209de9db34b8b7894698eb65b1f17.tar.bz2
pttbbs-7f83ab24bc6209de9db34b8b7894698eb65b1f17.tar.lz
pttbbs-7f83ab24bc6209de9db34b8b7894698eb65b1f17.tar.xz
pttbbs-7f83ab24bc6209de9db34b8b7894698eb65b1f17.tar.zst
pttbbs-7f83ab24bc6209de9db34b8b7894698eb65b1f17.zip
getans -> getdata
getkey -> vmsg_lines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index aa498b93..2175f764 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -232,7 +232,7 @@ setperms(unsigned int pbits, char *pstring[])
}
clrtobot();
while (
- (i = getans("請按 [A-5] 切換設定,按 [Return] 結束:"))!='\r')
+ (i = getkey("請按 [A-5] 切換設定,按 [Return] 結束:"))!='\r')
{
i = i - 'a';
if (i < 0)
@@ -955,7 +955,7 @@ scan_register_form(char *regfile, int automode, int neednum)
prints("%d.%-12s:%s\n", n - 2, finfo[n], fdata[n]);
}
if (muser.userlevel & PERM_LOGINOK) {
- ans[0] = getans("此帳號已經完成註冊, "
+ ans[0] = getkey("此帳號已經完成註冊, "
"更新(Y/N/Skip)?[N] ");
if (ans[0] != 'y' && ans[0] != 's')
ans[0] = 'd';