Skip to content

Block bombing anyone who is ignored #12

Description

@dgw

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions