mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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();
|
hilights_destroy_all();
|
||||||
|
|
||||||
node = iconfig_node_traverse("hilights", FALSE);
|
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) {
|
for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
|
||||||
node = tmp->data;
|
node = tmp->data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user