Skip to content

Commit

Permalink
修复黑名单用户可以触发reply的历史遗留缺陷。
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Nov 12, 2020
1 parent 74f1d62 commit 7701506
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dice/DiceEvent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4739,6 +4739,11 @@ int FromMsg::CustomReply()
bool isInReplyDeckWithDot = FALSE;
bool isRegexMatchWithReplyDeck = FALSE;

if (blacklist->get_qq_danger(fromQQ))
{
return 0;
}

auto deck_tmp_1 = CardDeck::mReplyDeck.find(strKey);
if (console["ReplyMode"] == 2 || console["ReplyMode"] == 1)
{
Expand Down

0 comments on commit 7701506

Please sign in to comment.