send channel sync requests "later" in the command queue

This commit is contained in:
Ailin Nemui 2021-09-01 22:56:06 +02:00
commit 240b79aa26
6 changed files with 69 additions and 32 deletions

View file

@ -119,6 +119,7 @@ struct _IRC_SERVER_REC {
there actually is, to make flood control remember
how many messages can be sent before starting the
flood control */
int cmdlater; /* number of commands in queue to be sent later */
GSList *cmdqueue; /* command, redirection, ... */
gint64 wait_cmd; /* don't send anything to server before this */
gint64 last_cmd; /* last time command was sent to server */