/WAIT [-<server tag>] <milliseconds> - wait for <milliseconds> before

sending anything else to server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@905 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-30 23:13:15 +00:00 committed by cras
commit 12ec2b86b8
4 changed files with 50 additions and 2 deletions

View file

@ -61,6 +61,7 @@ typedef struct {
int cmd_last_split; /* Last command wasn't sent entirely to server.
First item in `cmdqueue' should be re-sent. */
GSList *cmdqueue;
GTimeVal wait_cmd; /* don't send anything to server before this */
GTimeVal last_cmd; /* last time command was sent to server */
int max_cmds_at_once; /* How many messages can be sent immediately before timeouting starts */