summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/announce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/announce.c b/pttbbs/mbbsd/announce.c
index 81b97b7e..962b2ec6 100644
--- a/pttbbs/mbbsd/announce.c
+++ b/pttbbs/mbbsd/announce.c
@@ -264,6 +264,7 @@ a_newitem(menu_t * pm, int mode)
break;
} else if (dashd(lpath)) {
strlcpy(item.title, "กน ", sizeof(item.title)); /* A1B4 */
+ item.filemode |= FILE_ISDIR;
break;
}
if (!HAS_PERM(PERM_BBSADM) && d == 1)