3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 14:11:50 +00:00

fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled

This commit is contained in:
Dragory 2021-10-05 21:11:41 +03:00
parent c0c73751c9
commit 5e25792734
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -97,7 +97,7 @@ export async function runAutomod(pluginData: GuildPluginData<AutomodPluginType>,
performance.now() - triggerStartTime, performance.now() - triggerStartTime,
); );
if (matchResult && !rule.allow_further_rules) { if (matchResult) {
break triggerLoop; break triggerLoop;
} }
} }