martynsmith / node-irc

NodeJS IRC client library
GNU General Public License v3.0
1.33k stars 424 forks source link

Floodprotection should not delay first message #504

Open Bowserinator opened 7 years ago

Bowserinator commented 7 years ago

Using node-irc v0.5.2

When enabling flood protection, if there are no messages in the queue it should not wait to send the first message. There is the problem of the queue being empty and then a message being added right after, but it shouldn't just wait before sending out a message.