summaryrefslogtreecommitdiffstats
path: root/mbbsd/announce.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-14 17:10:46 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-14 17:10:46 +0800
commiteb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21 (patch)
tree162d88560fcb81e03ce0a12c376784caba59f497 /mbbsd/announce.c
parentc655c20900cc86b2debe45b22c86fb82d84a291d (diff)
downloadpttbbs-eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21.tar
pttbbs-eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21.tar.gz
pttbbs-eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21.tar.bz2
pttbbs-eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21.tar.lz
pttbbs-eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21.tar.xz
pttbbs-eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21.tar.zst
pttbbs-eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21.zip
security fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1183 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r--mbbsd/announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index ac001d28..a86c5577 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -874,7 +874,7 @@ a_menu(char *maintitle, char *path, int lastlevel)
須等該資料寫入 .DIR 內再 implement才有效率.
*/
if( !lastlevel && !HAS_PERM(PERM_SYSOP) &&
- !HAS_PERM(PERM_SYSSUBOP) && is_BM_cache(currbid) &&
+ !HAS_PERM(PERM_SYSSUBOP) && !is_BM_cache(currbid) &&
dashd(fname) )
vmsg("只有板主才可以拷貝目錄唷!");
else