mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 07:02:12 +02:00
-querychans option for servers and ircnets which specifies how many
channels to query in one line with MODE/WHO commands after joined to a number of channels. Default is 10 which works usually, with some very stupid servers (just found one) this has to be set to 1 however. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@981 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e6cc73bd4b
commit
8d98e80a6b
10 changed files with 41 additions and 12 deletions
|
|
@ -40,6 +40,7 @@ static void ircnet_read(CONFIG_NODE *node)
|
|||
|
||||
rec->max_cmds_at_once = config_node_get_int(node, "cmdmax", 0);
|
||||
rec->cmd_queue_speed = config_node_get_int(node, "cmdspeed", 0);
|
||||
rec->max_query_chans = config_node_get_int(node, "max_query_chans", 0);
|
||||
|
||||
rec->max_kicks = config_node_get_int(node, "max_kicks", 0);
|
||||
rec->max_msgs = config_node_get_int(node, "max_msgs", 0);
|
||||
|
|
@ -62,6 +63,8 @@ static void ircnet_save(IRC_CHATNET_REC *rec)
|
|||
iconfig_node_set_int(node, "cmdmax", rec->max_cmds_at_once);
|
||||
if (rec->cmd_queue_speed > 0)
|
||||
iconfig_node_set_int(node, "cmdspeed", rec->cmd_queue_speed);
|
||||
if (rec->max_query_chans > 0)
|
||||
iconfig_node_set_int(node, "max_query_chans", rec->max_query_chans);
|
||||
|
||||
if (rec->max_kicks > 0)
|
||||
iconfig_node_set_int(node, "max_kicks", rec->max_kicks);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue