summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-17 13:51:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-17 13:51:13 +0800
commit1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea (patch)
tree12dc7038fb55d523fb6c9548e83e89720586d6de /mbbsd/admin.c
parent9e11577128c92707c2db3f3e44814a3be0d7bf6f (diff)
downloadpttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.gz
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.bz2
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.lz
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.xz
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.zst
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.zip
- (internal) getans -> vans
- (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 7d1118f3..66aec48a 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -70,7 +70,7 @@ static int retrieve_backup(userec_t *user)
return 0;
}
- ans = getans("目前的 PASSWD 檔沒有此 ID,新增嗎?[y/N]");
+ ans = vans("目前的 PASSWD 檔沒有此 ID,新增嗎?[y/N]");
if (ans != 'y') {
vmsg("目前的 PASSWDS 檔沒有此 ID,請先新增此帳號");
@@ -285,7 +285,7 @@ setperms(unsigned int pbits, const char * const pstring[])
}
clrtobot();
while (
- (i = getkey("請按 [A-5] 切換設定,按 [Return] 結束:"))!='\r')
+ (i = vmsg("請按 [A-5] 切換設定,按 [Return] 結束:"))!='\r')
{
if (isdigit(i))
i = i - '0' + 26;
@@ -493,7 +493,7 @@ m_mod_board(char *bname)
if (HasUserPerm(PERM_SYSOP)) {
char frombname[20], fromdir[PATHLEN];
#ifdef MERGEBBS
- if(getans("是否匯入SOB看板? (y/N)")=='y')
+ if(vans("是否匯入SOB看板? (y/N)")=='y')
{
setbdir(genbuf, bname);
m_sob_brd(bname, fromdir);
@@ -821,7 +821,7 @@ x_file(void)
case 'd':
strlcpy(buf, entries[sel], sizeof(buf));
v = strchr(buf, ' '); *v++ = 0;
- i = getans("確定要刪除 %s 嗎? (y/N) ", v);
+ i = vansf("確定要刪除 %s 嗎? (y/N) ", v);
if (i == 'y')
unlink(buf);
vmsgf("系統檔案[%s]: %s", buf, !dashf(buf) ?