diff options
author | Jilles Tjoelker <jilles@irssi.org> | 2007-10-31 22:58:44 +0000 |
---|---|---|
committer | jilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-10-31 22:58:44 +0000 |
commit | 78dad04c7b21342c9b6dddc7ea9f1b34f61e6984 (patch) | |
tree | 4432b0b216434973eaa0a24a991daa9e8e74c816 /src/irc/notifylist/notify-setup.c | |
parent | d9782fab84a66a04eb42bb8804236a860b799574 (diff) | |
download | irssi-78dad04c7b21342c9b6dddc7ea9f1b34f61e6984.zip |
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
Diffstat (limited to 'src/irc/notifylist/notify-setup.c')
-rw-r--r-- | src/irc/notifylist/notify-setup.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/irc/notifylist/notify-setup.c b/src/irc/notifylist/notify-setup.c index 92a1fc27..d6f91361 100644 --- a/src/irc/notifylist/notify-setup.c +++ b/src/irc/notifylist/notify-setup.c @@ -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); |