b860ad5ffa
We were ending the flood grace period for any channel mode command other than `MODE #foo [bq]` by means of a hardcoded check. I've moved that to after we parse the mode string, so we can correctly identify all requests to change modes and end the grace period on exactly those. It would have been entirely possible to move the check even further down and flood_endgrace on only mode commands that *actually* change modes, but I don't like the idea of making it sensitive to external conditions. |
||
---|---|---|
.. | ||
m_ban.c | ||
m_die.c | ||
m_error.c | ||
m_identified.c | ||
m_join.c | ||
m_kick.c | ||
m_kill.c | ||
m_message.c | ||
m_mode.c | ||
m_modules.c | ||
m_nick.c | ||
m_part.c | ||
m_quit.c | ||
m_server.c | ||
m_squit.c |