summaryrefslogtreecommitdiffstats
path: root/mbbsd/friend.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-22 21:03:29 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-22 21:03:29 +0800
commitb98ca2c4a39ac4bfbd45875c493d0d6f2388d818 (patch)
treea1c9c6ea397dafeee7256f2bc6089b4a560baaff /mbbsd/friend.c
parenta0689bfa437cdec8d1872270b58c33647d57dfd8 (diff)
downloadpttbbs-b98ca2c4a39ac4bfbd45875c493d0d6f2388d818.tar
pttbbs-b98ca2c4a39ac4bfbd45875c493d0d6f2388d818.tar.gz
pttbbs-b98ca2c4a39ac4bfbd45875c493d0d6f2388d818.tar.bz2
pttbbs-b98ca2c4a39ac4bfbd45875c493d0d6f2388d818.tar.lz
pttbbs-b98ca2c4a39ac4bfbd45875c493d0d6f2388d818.tar.xz
pttbbs-b98ca2c4a39ac4bfbd45875c493d0d6f2388d818.tar.zst
pttbbs-b98ca2c4a39ac4bfbd45875c493d0d6f2388d818.zip
ticket#30: realtime board perm update
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2938 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r--mbbsd/friend.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c
index 04f2a395..407560e0 100644
--- a/mbbsd/friend.c
+++ b/mbbsd/friend.c
@@ -447,6 +447,13 @@ friend_edit(int type)
fputs(genbuf, fp);
fclose(fp);
}
+ } else if (type == BOARD_WATER) {
+ boardheader_t *bp =
+ getbcache(getbnum(currboard));
+ bp->perm_reload = now;
+ /* should we flush perm_reload?
+ * not really important in current implementation.
+ */
}
friend_load(0);
}