diff options
-rw-r--r-- | mbbsd/board.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 2794d735..d5dbe4d5 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -724,14 +724,13 @@ choose_board(int newflag) if (brdnum <= 0) { load_boards(keyword); if (brdnum <= 0) { + if (keyword[0] != 0) { + vmsg("沒有任何看板標題有此關鍵字"); + keyword[0] = 0; + brdnum = -1; + continue; + } if (IS_LISTING_BRD()) { - if (keyword[0] != 0) { - vmsg("沒有任何看板標題有此關鍵字 " - "(板主應注意看板標題命名)"); - keyword[0] = 0; - brdnum = -1; - continue; - } if (HasUserPerm(PERM_SYSOP) || GROUPOP()) { if (paste_taged_brds(class_bid) || m_newbrd(class_bid, 0) == -1) |