-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Proposal] Update flood protection logic #1559
Comments
I'm working on that, but I need #1518 to be merged before I can publish anything. |
@Exirel Do you still want to work on this for 7.0, or should we defer it to 7.1? |
Ok, after looking for it, I think it's best to postpone to 7.1 (if not later). |
@HumorBaby I'm about to look at making a small PR for 7.1 that changes the flood penalty calculation to use the truncated message, but regardless of whether that ships or not… I think most of your "Future plans" section is already done, actually. We have It would benefit Sopel most in the long term to move its flood prevention logic into the IRC backend (so it applies to everything sent, not just what the bot object sends)—a step further than your proposed move into |
Flood-prevention measures need to be refactored.
Proposed minimum changes:
irc.Bot.write
Background
RFC 1459 spec on flood control of clients:
Current bot layout: (I may have missed some 😯)
Rationale
A few reasons this change is needed:
Sopel.say
currently, bypass flood-prevention logic.Future plans
Potential additional changes:
The text was updated successfully, but these errors were encountered: