diff options
author | Timo Sirainen <cras@irssi.org> | 2002-05-18 04:18:52 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-05-18 04:18:52 +0000 |
commit | 1bc83aba2947db71fbc15b3f5761fe844f6d78a7 (patch) | |
tree | 1d88525054e35a7f9b5f80944a1951d7a2f1c5d1 | |
parent | b96222b31138a7f05c2c5cfba0751b8e106a1c26 (diff) | |
download | irssi-1bc83aba2947db71fbc15b3f5761fe844f6d78a7.zip |
servertag needs to be saved too ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2810 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/core/ignore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ignore.c b/src/core/ignore.c index bc35b861..e668edb6 100644 --- a/src/core/ignore.c +++ b/src/core/ignore.c @@ -283,6 +283,7 @@ static void ignore_set_config(IGNORE_REC *rec) if (rec->replies) iconfig_node_set_bool(node, "replies", TRUE); if (rec->unignore_time != 0) iconfig_node_set_int(node, "unignore_time", rec->unignore_time); + iconfig_node_set_str(node, "servertag", rec->servertag); if (rec->channels != NULL && *rec->channels != NULL) { node = config_node_section(node, "channels", NODE_TYPE_LIST); @@ -427,6 +428,7 @@ static void read_ignores(void) rec->fullword = config_node_get_bool(node, "fullword", FALSE); rec->replies = config_node_get_bool(node, "replies", FALSE); rec->unignore_time = config_node_get_int(node, "unignore_time", 0); + rec->servertag = g_strdup(config_node_get_str(node, "servertag", 0)); node = config_node_section(node, "channels", -1); if (node != NULL) rec->channels = config_node_get_list(node); |