mirror of
https://github.com/matrix-construct/construct
synced 2024-11-28 01:32:43 +01:00
8db50c03e6
When receiving bans from a bursting server, if kline_delay is set to 0 (the default), rb_event_addonce will be called to schedule an event for 0 seconds in the future. While this works fine for the fallback rb_event_run function, the epoll implementation ends up scheduling a timerfd for the event in the past, which is then never executed. While fixing this, I also made rb_event_add and rb_event_addonce reject attempts to add events scheduled for 0 seconds in the future; they're instead rewritten to run 1 second in the future. |
||
---|---|---|
.. | ||
m_ban.c | ||
m_die.c | ||
m_error.c | ||
m_join.c | ||
m_kick.c | ||
m_kill.c | ||
m_message.c | ||
m_mode.c | ||
m_nick.c | ||
m_part.c | ||
m_quit.c | ||
m_server.c | ||
m_squit.c |