summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c9
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 )