diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-06 16:06:52 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-06 16:06:52 +0800 |
commit | 3b40d54e3e296433d389330eaf883a643fbf6882 (patch) | |
tree | f63494e36ffb66d0338f0e7837aa224d22cced32 /mbbsd | |
parent | b6b700cd16763a5e736e134065c34f856c648916 (diff) | |
download | pttbbs-3b40d54e3e296433d389330eaf883a643fbf6882.tar pttbbs-3b40d54e3e296433d389330eaf883a643fbf6882.tar.gz pttbbs-3b40d54e3e296433d389330eaf883a643fbf6882.tar.bz2 pttbbs-3b40d54e3e296433d389330eaf883a643fbf6882.tar.lz pttbbs-3b40d54e3e296433d389330eaf883a643fbf6882.tar.xz pttbbs-3b40d54e3e296433d389330eaf883a643fbf6882.tar.zst pttbbs-3b40d54e3e296433d389330eaf883a643fbf6882.zip |
don't delete password trial by default.
suggest by dale@ptt, patch by ledia@ptt2.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/mbbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 40794b5a..6ead76d6 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -828,7 +828,7 @@ inline static void check_bad_login(void) { outs("通常並沒有辦法知道該ip是誰所有, " "以及其意圖(是不小心按錯或有意測您密碼)\n" "若您有帳號被盜用疑慮, 請經常更改您的密碼或使用加密連線"); - if (getans("您要刪除以上錯誤嘗試的記錄嗎(Y/N)?[Y]") != 'n') + if (getans("您要刪除以上錯誤嘗試的記錄嗎(Y/N)?[N]") == 'y') unlink(genbuf); } } |