diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-09-24 17:13:19 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-09-24 17:13:19 +0800 |
commit | 469c7bfd4e5f31b35ef154f831cb3a4246c81530 (patch) | |
tree | d234467024d836d564bad76ed7d5c748737d327e /mbbsd/record.c | |
parent | 8a4d2b2da80ecdff7f71a48f85d8cbb81f53d548 (diff) | |
download | pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.gz pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.bz2 pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.lz pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.xz pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.zst pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.zip |
1. Lock post for police and BM
2. BM and Police can set board cool down
3. All post posted by new account (<14 days) will show in NEWIDPOST board.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r-- | mbbsd/record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c index bd617dbf..0015e7a4 100644 --- a/mbbsd/record.c +++ b/mbbsd/record.c @@ -424,6 +424,7 @@ safe_article_delete_range(const char *direct, int from, int to) read(fd, &newfhdr, sizeof(fileheader_t)); if( newfhdr.filemode & (FILE_MARKED | FILE_DIGEST) ) continue; + if(newfhdr.filename[0]=='L') newfhdr.filename[0]='M'; strlcpy(ptr, newfhdr.filename, sizeof(newfhdr.filename)); unlink(fn); |