mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix antiraid_level override criteria not working
This commit is contained in:
parent
60af27c526
commit
462a604c8b
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema, ICustomOverride
|
|||
}
|
||||
|
||||
protected matchCustomOverrideCriteria(criteria: ICustomOverrides, matchParams: IMatchParams) {
|
||||
return matchParams?.extra?.antiraid_level && matchParams.extra.antiraid_level === this.cachedAntiraidLevel;
|
||||
return criteria?.antiraid_level && criteria.antiraid_level === this.cachedAntiraidLevel;
|
||||
}
|
||||
|
||||
protected async onLoad() {
|
||||
|
|
Loading…
Add table
Reference in a new issue