You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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: HandlePunted to separate issue, #13.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 (viatrigger.host
), but this is a nice stretch goal.The text was updated successfully, but these errors were encountered: