[2.0.9] m_messageflood, muteban #394

Closed
JDowny opened this Issue Dec 28, 2012 · 3 comments

3 participants

@JDowny

If I match a mute ban mask in a channel, and flood protection is set on that channel I can get kicked even while muted.

* tester sets ban on m:tester!@
<tester> bug
* #opers :Cannot send to channel (you're muted)
<tester> bug
* #opers :Cannot send to channel (you're muted)
<tester> bug
* You have been kicked from #opers by TesNet (Channel flood triggered (limit is 3 lines in 3 secs))

This does not happen for a normal +b mask, I have not tested anything beyond these two to see if other extbans are effected.

@JDowny

2.0.10 seems affected as well, which makes sense since I don't remember seeing any changes related to things like this

@Shawn-Smith

I think that changing this from OnUserPreMessage to OnUserPostMessage would fix it, but I'm not entirely sure.

@attilamolnar
inspircd member

prioritization issue, should be trivial to fix

@satmd satmd added a commit to satmd/inspircd that referenced this issue Jun 1, 2014
@attilamolnar attilamolnar m_messageflood Ask to be the last to handle OnUserPreMessage/OnUserPr…
…eNotice

Fixes #394 reported by @JDowny
12972eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment