solanum/modules/core
Ed Kellett b860ad5ffa
chmode: end the grace period more intelligently (#84)
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.
2020-11-30 09:24:32 +00:00
..
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 chmode: end the grace period more intelligently (#84) 2020-11-30 09:24:32 +00:00
m_modules.c
m_nick.c
m_part.c
m_quit.c
m_server.c
m_squit.c