diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-26 10:19:40 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-26 10:19:40 +0800 |
commit | cbe168f4d13fab02cb28e73f5a244d7981ddd83e (patch) | |
tree | 80b91062d005df83e21af3de5f8d4ed15937c811 /mbbsd | |
parent | 983140a3af910f1f835627216e12f474db7ace93 (diff) | |
download | pttbbs-cbe168f4d13fab02cb28e73f5a244d7981ddd83e.tar pttbbs-cbe168f4d13fab02cb28e73f5a244d7981ddd83e.tar.gz pttbbs-cbe168f4d13fab02cb28e73f5a244d7981ddd83e.tar.bz2 pttbbs-cbe168f4d13fab02cb28e73f5a244d7981ddd83e.tar.lz pttbbs-cbe168f4d13fab02cb28e73f5a244d7981ddd83e.tar.xz pttbbs-cbe168f4d13fab02cb28e73f5a244d7981ddd83e.tar.zst pttbbs-cbe168f4d13fab02cb28e73f5a244d7981ddd83e.zip |
articles in FILE_BOTTOM could be edited
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 51ac88a2..1e455855 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -965,8 +965,7 @@ edit_post(int ent, fileheader_t * fhdr, const char *direct) fileheader_t postfile; boardheader_t *bp = getbcache(currbid); - if ((fhdr->filemode & FILE_BOTTOM) || - strcmp(bp->brdname, "Security") == 0) + if (strcmp(bp->brdname, "Security") == 0) return DONOTHING; if (!HasUserPerm(PERM_SYSOP) && |