1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

Merge pull request #605 from dequis/fix-early-ison

Don't reset wait_cmd during connection registration (fixes early ISON)
This commit is contained in:
LemonBoy 2017-01-07 22:00:00 +01:00 committed by GitHub
commit 7c09b72a26

View File

@ -527,6 +527,12 @@ void irc_server_send_data(IRC_SERVER_REC *server, const char *data, int len)
return;
}
/* Don't reset wait_cmd during connection registration
* (while sending CAP / SASL related commands) */
if (!server->connected) {
return;
}
g_get_current_time(&server->last_cmd);
/* A bit kludgy way to do the flood protection. In ircnet, there