diff options
-rw-r--r-- | mbbsd/fav.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index 53a5ccb4..54f7a1b3 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -455,6 +455,11 @@ int fav_save(void) return -1; write_favrec(fd, fp); close(fd); + if (dashs(buf) == 4) { + char buf3[128]; + sprintf(buf3, "%s %s\n", Ctime(), cuser->userid); + log_file(BBSHOME"/dirty.hack", buf3, 1); + } Rename(buf, buf2); return 0; } |