diff --git a/lib/core/monitor.js b/lib/core/monitor.js index 1529bbd..8c8044e 100644 --- a/lib/core/monitor.js +++ b/lib/core/monitor.js @@ -344,7 +344,7 @@ class Monitor extends Searcher { needTopic = [...new Set(description.match(/(?<=[带加上](?:话题|tag).*)#.+?#|(?<=[带加上])#.+?#(?=话题|tag)/ig) || [])].join(' '), isRelayDynamic = type === 1, has_key_words = key_words.every(it => new RegExp(it).test(description)), - isBlock = new RegExp(blockword.join('|')).test(description + reserve_lottery_text), + isBlock = blockword.length && new RegExp(blockword.join('|')).test(description + reserve_lottery_text), isLottery = (is_imitator && lottery_info_type === 'uid' && model !== '00') || (hasOfficialLottery && model[0] === '1')