mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Don't reset wait_cmd during connection registration (fixes early ISON)
This commit is contained in:
parent
a40d4492d2
commit
1831a8e1a7
@ -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