mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -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;
|
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);
|
g_get_current_time(&server->last_cmd);
|
||||||
|
|
||||||
/* A bit kludgy way to do the flood protection. In ircnet, there
|
/* A bit kludgy way to do the flood protection. In ircnet, there
|
||||||
|
Loading…
x
Reference in New Issue
Block a user