mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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
@ -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…
Reference in New Issue
Block a user