summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/irc-servers.h5
1 files changed, 4 insertions, 1 deletions
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 */