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

Block bombing anyone who is ignored #12

Open
dgw opened this issue Dec 26, 2015 · 1 comment
Open

Block bombing anyone who is ignored #12

dgw opened this issue Dec 26, 2015 · 1 comment
Assignees

Comments

@dgw
Copy link
Owner

dgw commented Dec 26, 2015

The current code allows bombing someone whose attempts to defuse the bomb would be ignored.

Possible fix: Move checks for whether the target nick can be bombed into a function that can handle all the regular expression nonsense in bot.config.core.nick_blocks.

Bonus points: Handle bot.config.core.host_blocks also. There doesn't seem to be a way of getting the host of the target easily, only the calling user (via trigger.host), but this is a nice stretch goal. Punted to separate issue, #13.

@dgw
Copy link
Owner Author

dgw commented Oct 12, 2020

We'll leave this be some more. It's already been nearly five years, but now there's an idea for making it easier to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant