summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/pttstruct.h1
-rw-r--r--mbbsd/cache.c2
-rw-r--r--mbbsd/var.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index b8b714a9..37159523 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -208,6 +208,7 @@ typedef struct boardheader_t {
#define BRD_NOBOO 000200000 /* ¤£¥i¼N */
#define BRD_LOCALSAVE 000400000 /* ¹w³] Local Save */
#define BRD_RESTRICTEDPOST 001000000 /* ªO¤Í¤~¯àµo¤å */
+#define BRD_GUESTPOST 002000000 /* guest¯ààpo */
#define BRD_LINK_TARGET(x) ((x)->postexpire)
#define GROUPOP() (currmode & MODE_GROUPOP)
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 1e2019cb..3d703f6c 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -718,7 +718,7 @@ haspostperm(char *bname)
return 0;
/* ¯µ±K¬ÝªO¯S§O³B²z */
- if (bcache[i - 1].brdattr & BRD_HIDE)
+ if (bcache[i - 1].brdattr & (BRD_HIDE | BRD_GUESTPOST))
return 1;
else if (bcache[i - 1].brdattr & BRD_RESTRICTEDPOST &&
hbflcheck(i, usernum))
diff --git a/mbbsd/var.c b/mbbsd/var.c
index cb422966..c53a4e7d 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -61,7 +61,7 @@ char * const str_permboard[] = {
"¤£¥i¼N", /* BRD_NOBOO */
"¹w³] Local Save", /* BRD_LOCALSAVE */
"­­ªO¤Íµo¤å", /* BRD_RESTRICTEDPOST */
- "¨S·Q¨ì",
+ "Guest¥i¥Hµoªíí", /* BRD_GUESTPOST */
"¨S·Q¨ì",
"¨S·Q¨ì",
"¨S·Q¨ì",