summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-14 17:34:25 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-14 17:34:25 +0800
commit456779bdaa621c4a9ff92fe01f6891d2088a5223 (patch)
treeea010bfdc9fc8ed47dd3c20bbdef020c7e35dda5 /mbbsd
parenteb99c5c8ae3ac4e45172bcd9410d9cef7fef3e21 (diff)
downloadpttbbs-456779bdaa621c4a9ff92fe01f6891d2088a5223.tar
pttbbs-456779bdaa621c4a9ff92fe01f6891d2088a5223.tar.gz
pttbbs-456779bdaa621c4a9ff92fe01f6891d2088a5223.tar.bz2
pttbbs-456779bdaa621c4a9ff92fe01f6891d2088a5223.tar.lz
pttbbs-456779bdaa621c4a9ff92fe01f6891d2088a5223.tar.xz
pttbbs-456779bdaa621c4a9ff92fe01f6891d2088a5223.tar.zst
pttbbs-456779bdaa621c4a9ff92fe01f6891d2088a5223.zip
PERM_SYSSUBOP cound NOT copy dir of announce
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/announce.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index a86c5577..c3a267a9 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -874,8 +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) &&
- dashd(fname) )
+ !is_BM_cache(currbid) && dashd(fname) )
vmsg("只有板主才可以拷貝目錄唷!");
else
a_copyitem(fname, me.header[me.now - me.page].title, 0, 1);