diff options
-rw-r--r-- | mbbsd/talk.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index e807cf64..dd4217ac 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1114,7 +1114,14 @@ t_display(void) else vmsg("信箱儲存失敗。"); } else if (*ans == 'c') - unlink(genbuf); + { + getdata(b_lines - 1, 0, "確定清除?(y/N) [N] ", + ans, sizeof(ans), LCECHO); + if(*ans == 'Y' || *ans == 'y') + unlink(genbuf); + else + vmsg("取消清除。"); + } return FULLUPDATE; } return DONOTHING; |