diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-22 23:53:44 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-22 23:53:44 +0800 |
commit | a8207490ca0ba62ba301edd6f034837ef01bc7cf (patch) | |
tree | 843d3de6723fa977d66f693a97882abf0ac55ae3 /mbbsd/friend.c | |
parent | 8171f45b5684b734ce19551acee8381dfbb71a07 (diff) | |
download | pttbbs-a8207490ca0ba62ba301edd6f034837ef01bc7cf.tar pttbbs-a8207490ca0ba62ba301edd6f034837ef01bc7cf.tar.gz pttbbs-a8207490ca0ba62ba301edd6f034837ef01bc7cf.tar.bz2 pttbbs-a8207490ca0ba62ba301edd6f034837ef01bc7cf.tar.lz pttbbs-a8207490ca0ba62ba301edd6f034837ef01bc7cf.tar.xz pttbbs-a8207490ca0ba62ba301edd6f034837ef01bc7cf.tar.zst pttbbs-a8207490ca0ba62ba301edd6f034837ef01bc7cf.zip |
adjust cp log color/style
and we should update board record.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r-- | mbbsd/friend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c index 407560e0..9d87ee8f 100644 --- a/mbbsd/friend.c +++ b/mbbsd/friend.c @@ -448,12 +448,12 @@ friend_edit(int type) fclose(fp); } } else if (type == BOARD_WATER) { + currbid = getbnum(currboard); boardheader_t *bp = - getbcache(getbnum(currboard)); + getbcache(currbid); bp->perm_reload = now; - /* should we flush perm_reload? - * not really important in current implementation. - */ + substitute_record(fn_board, bp, sizeof(boardheader_t), currbid); + // log_usies("SetBoard", bp->brdname); } friend_load(0); } |