mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Merge pull request #133 from pjcj/master
Speed up /reload when there are many ignores.
This commit is contained in:
commit
89cdcecf76
1 changed files with 1 additions and 3 deletions
|
|
@ -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->servertag);
|
||||||
g_free_not_null(rec->pattern);
|
g_free_not_null(rec->pattern);
|
||||||
g_free(rec);
|
g_free(rec);
|
||||||
|
|
||||||
nickmatch_rebuild(nickmatch);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ignore_update_rec(IGNORE_REC *rec)
|
void ignore_update_rec(IGNORE_REC *rec)
|
||||||
|
|
@ -380,8 +378,8 @@ void ignore_update_rec(IGNORE_REC *rec)
|
||||||
|
|
||||||
ignore_init_rec(rec);
|
ignore_init_rec(rec);
|
||||||
signal_emit("ignore changed", 1, rec);
|
signal_emit("ignore changed", 1, rec);
|
||||||
nickmatch_rebuild(nickmatch);
|
|
||||||
}
|
}
|
||||||
|
nickmatch_rebuild(nickmatch);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int unignore_timeout(void)
|
static int unignore_timeout(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue