diff options
author | Alexander Færøy <ahf@0x90.dk> | 2014-12-16 20:39:33 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2014-12-16 20:39:33 +0100 |
commit | 89cdcecf76ffeaa24761a71399a475830e6bd012 (patch) | |
tree | b660a1070a0511c72a3720c204601d4e6133be42 /src | |
parent | cd7a30bf9ade0e979b47c1b67bf770e13bfe82d6 (diff) | |
parent | d9deafe57ccf2fc2191f48c989859e87b7daab06 (diff) | |
download | irssi-89cdcecf76ffeaa24761a71399a475830e6bd012.zip |
Merge pull request #133 from pjcj/master
Speed up /reload when there are many ignores.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ignore.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/ignore.c b/src/core/ignore.c index 3c45967c..68fae11f 100644 --- a/src/core/ignore.c +++ b/src/core/ignore.c @@ -360,8 +360,6 @@ static void ignore_destroy(IGNORE_REC *rec, int send_signal) g_free_not_null(rec->servertag); g_free_not_null(rec->pattern); g_free(rec); - - nickmatch_rebuild(nickmatch); } void ignore_update_rec(IGNORE_REC *rec) @@ -380,8 +378,8 @@ void ignore_update_rec(IGNORE_REC *rec) ignore_init_rec(rec); signal_emit("ignore changed", 1, rec); - nickmatch_rebuild(nickmatch); } + nickmatch_rebuild(nickmatch); } static int unignore_timeout(void) |