mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
nickmatch-cache wasn't initialized if there wasn't hilights = { ... }
block in config file git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1142 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ff5961dd09
commit
db03c25952
1 changed files with 4 additions and 1 deletions
|
|
@ -458,7 +458,10 @@ static void read_hilight_config(void)
|
|||
hilights_destroy_all();
|
||||
|
||||
node = iconfig_node_traverse("hilights", FALSE);
|
||||
if (node == NULL) return;
|
||||
if (node == NULL) {
|
||||
reset_cache();
|
||||
return;
|
||||
}
|
||||
|
||||
for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
|
||||
node = tmp->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue