mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
Remove /notify -idle, it can only work with not-nice automated remote whois.
(causes infrequent "server load too heavy" etc) If people really want this, they should write a script. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4632 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d9782fab84
commit
78dad04c7b
11 changed files with 19 additions and 115 deletions
|
|
@ -37,11 +37,6 @@ void notifylist_add_config(NOTIFYLIST_REC *rec)
|
|||
else
|
||||
iconfig_node_set_str(node, "away_check", NULL);
|
||||
|
||||
if (rec->idle_check_time > 0)
|
||||
iconfig_node_set_int(node, "idle_check_time", rec->idle_check_time/60);
|
||||
else
|
||||
iconfig_node_set_str(node, "idle_check_time", NULL);
|
||||
|
||||
iconfig_node_set_str(node, "ircnets", NULL);
|
||||
if (rec->ircnets != NULL && *rec->ircnets != NULL) {
|
||||
node = config_node_section(node, "ircnets", NODE_TYPE_LIST);
|
||||
|
|
@ -77,7 +72,6 @@ void notifylist_read_config(void)
|
|||
|
||||
rec->mask = g_strdup(node->key);
|
||||
rec->away_check = config_node_get_bool(node, "away_check", FALSE);
|
||||
rec->idle_check_time = config_node_get_int(node, "idle_check_time", 0)*60;
|
||||
|
||||
node = config_node_section(node, "ircnets", -1);
|
||||
if (node != NULL) rec->ircnets = config_node_get_list(node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue