diff options
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 96c91a6f..4b295251 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -326,6 +326,10 @@ int IsFreeBoardName(const char *brdname) return 1; if (strcmp(brdname, BN_ALLPOST) == 0) return 1; + // since DEFAULT_BOARD is allowed to post without + // special permission, we should not give rewards. + if (strcasecmp(brdname, DEFAULT_BOARD) == 0) + return 1; return 0; } |