Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reimplement spam pressure calculation with a more stateless and properly synchronized usage of RecentMessages instead of users.conf #523

Merged
merged 11 commits into from
Nov 16, 2023

codeql

29b1990
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Nov 16, 2023 in 4s

1 new alert

New alerts in code changed by this pull request

  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 338 in Izzy-Moonbot/Service/SpamService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Where Note

This foreach loop
implicitly filters its target sequence
- consider filtering the sequence explicitly using '.Where(...)'.