From eb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21 Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 14 Sep 2003 09:10:46 +0000 Subject: security fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1183 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/announce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3