diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-03-28 09:39:38 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-03-28 09:39:38 +0800 |
commit | f9d8df377c9725ba53e805379738aaf8dff1b25d (patch) | |
tree | a02899de10f507e75db9f98ded1ed1d655b9e541 /mbbsd | |
parent | fc5a307fe3e037fc6b33475e1ab744054b030493 (diff) | |
download | pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.gz pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.bz2 pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.lz pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.xz pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.zst pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.zip |
add LOGPOST
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 0b11fe81..a7160a0c 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -964,6 +964,15 @@ do_general(int isbid) else { rename(genbuf, fpath); +#ifdef LOGPOST + { + FILE *fp = fopen("log/post", "a"); + fprintf(fp, "%d %s boards/%c/%s/%s\n", + now, cuser.userid, currboard[0], currboard, + postfile.filename); + fclose(fp); + } +#endif setbtotal(currbid); if( currmode & MODE_SELECT ) |