mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
commit
7c09b72a26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user