diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-26 10:24:30 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-26 10:24:30 +0000 |
commit | 0d8239e40e504cb1a4cce5e8d48cc0c7898c6e31 (patch) | |
tree | b2ad2e439210d1a1e92a406c5e03853cd7b0de45 /src/irc/core/irc-chatnets.c | |
parent | a392b41f2ff5f4d3417d28508ec1a8c8a013fce0 (diff) | |
download | irssi-0d8239e40e504cb1a4cce5e8d48cc0c7898c6e31.zip |
config changes, CONFIG_REC is now required parameter for
config_node_set_int/bool() and config_node_add_list()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@886 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-chatnets.c')
-rw-r--r-- | src/irc/core/irc-chatnets.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/irc/core/irc-chatnets.c b/src/irc/core/irc-chatnets.c index 0ccf121c..f5bcaf0f 100644 --- a/src/irc/core/irc-chatnets.c +++ b/src/irc/core/irc-chatnets.c @@ -59,18 +59,18 @@ static void ircnet_save(IRC_CHATNET_REC *rec) node = chatnet_save((CHATNET_REC *) rec, node); if (rec->max_cmds_at_once > 0) - config_node_set_int(node, "cmdmax", rec->max_cmds_at_once); + iconfig_node_set_int(node, "cmdmax", rec->max_cmds_at_once); if (rec->cmd_queue_speed > 0) - config_node_set_int(node, "cmdspeed", rec->cmd_queue_speed); + iconfig_node_set_int(node, "cmdspeed", rec->cmd_queue_speed); if (rec->max_kicks > 0) - config_node_set_int(node, "max_kicks", rec->max_kicks); + iconfig_node_set_int(node, "max_kicks", rec->max_kicks); if (rec->max_msgs > 0) - config_node_set_int(node, "max_msgs", rec->max_msgs); + iconfig_node_set_int(node, "max_msgs", rec->max_msgs); if (rec->max_modes > 0) - config_node_set_int(node, "max_modes", rec->max_modes); + iconfig_node_set_int(node, "max_modes", rec->max_modes); if (rec->max_whois > 0) - config_node_set_int(node, "max_whois", rec->max_whois); + iconfig_node_set_int(node, "max_whois", rec->max_whois); } static void ircnet_remove(IRC_CHATNET_REC *rec) |