mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Add the command send/expire timeout only when needed.
This was the last always-on <1s timer. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5026 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
25b3a531be
commit
8a6b0224b9
3 changed files with 32 additions and 10 deletions
|
|
@ -56,6 +56,8 @@ void irc_send_cmd_full(IRC_SERVER_REC *server, const char *cmd,
|
|||
return;
|
||||
|
||||
len = strlen(cmd);
|
||||
if (server->cmdcount == 0)
|
||||
irc_servers_start_cmd_timeout();
|
||||
server->cmdcount++;
|
||||
|
||||
if (!raw) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue