From ee345259059de2b34a25852825401241cbc2b1d5 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 29 Nov 2008 19:38:00 +0000 Subject: [PATCH] Revert r4924, the comment is correct after all. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4930 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-servers.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/irc/core/irc-servers.h b/src/irc/core/irc-servers.h index 6fea42c9..fc3480a7 100644 --- a/src/irc/core/irc-servers.h +++ b/src/irc/core/irc-servers.h @@ -70,7 +70,10 @@ struct _IRC_SERVER_REC { int max_msgs_in_cmd; /* max. number of targets in one /MSG */ /* Command sending queue */ - int cmdcount; /* number of commands in `cmdqueue' */ + int cmdcount; /* number of commands in `cmdqueue'. Can be more than + there actually is, to make flood control remember + how many messages can be sent before starting the + flood control */ GSList *cmdqueue; /* command, redirection, ... */ GTimeVal wait_cmd; /* don't send anything to server before this */ GTimeVal last_cmd; /* last time command was sent to server */