diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-12-26 15:56:05 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-12-26 15:56:05 +0800 |
commit | ac692184aeabcf341bff7ebb340328a56a9bc23d (patch) | |
tree | 1533078ad9d4383804ca01eeab54dcf1243929f7 | |
parent | a44bad6aceb9f76b3a5c61ef80d8aba67490b151 (diff) | |
download | pttbbs-ac692184aeabcf341bff7ebb340328a56a9bc23d.tar pttbbs-ac692184aeabcf341bff7ebb340328a56a9bc23d.tar.gz pttbbs-ac692184aeabcf341bff7ebb340328a56a9bc23d.tar.bz2 pttbbs-ac692184aeabcf341bff7ebb340328a56a9bc23d.tar.lz pttbbs-ac692184aeabcf341bff7ebb340328a56a9bc23d.tar.xz pttbbs-ac692184aeabcf341bff7ebb340328a56a9bc23d.tar.zst pttbbs-ac692184aeabcf341bff7ebb340328a56a9bc23d.zip |
redraw
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/talk.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index ed17c8ef..2c3842d4 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -2231,20 +2231,20 @@ userlist(void) break; case 'a': if (HAS_PERM(PERM_LOGINOK) && !(fri_stat & IFH)) { - if (getans("確定要加入好友嗎 [N/y]") != 'y') - break; - friend_add(uentp->userid, FRIEND_OVERRIDE,uentp->username); - friend_load(FRIEND_OVERRIDE); + if (getans("確定要加入好友嗎 [N/y]") == 'y') { + friend_add(uentp->userid, FRIEND_OVERRIDE,uentp->username); + friend_load(FRIEND_OVERRIDE); + } redrawall = redraw = 1; } break; case 'd': if (HAS_PERM(PERM_LOGINOK) && (fri_stat & IFH)) { - if (getans("確定要刪除好友嗎 [N/y]") != 'y') - break; - friend_delete(uentp->userid, FRIEND_OVERRIDE); - friend_load(FRIEND_OVERRIDE); + if (getans("確定要刪除好友嗎 [N/y]") == 'y') { + friend_delete(uentp->userid, FRIEND_OVERRIDE); + friend_load(FRIEND_OVERRIDE); + } redrawall = redraw = 1; } break; |