1
0
Fork 0

Fix /set hilight_level not taking effect immediately (bug #598). Patch by exg.

git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4857 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Wouter Coekaerts 2008-06-04 19:33:00 +00:00 committed by coekie
parent 1e3e062b24
commit 1a79bd055c
2 changed files with 7 additions and 1 deletions

1
NEWS
View File

@ -19,6 +19,7 @@ v0.8.13
- Fix mode display in whois with unreal (379 numeric) (bug #479).
- Fix regressions that prevented external modules from building/working
(bugs #537 #539).
- Fix /set hilight_level not taking effect immediately (bug #598).
v0.8.12 2007-10-06 The Irssi team <staff@irssi.org>
+ Some changes to character set recoding.

View File

@ -40,7 +40,7 @@ static NICKMATCH_REC *nickmatch;
static int never_hilight_level, default_hilight_level;
GSList *hilights;
static void reset_cache(void)
static void reset_level_cache(void)
{
GSList *tmp;
@ -51,7 +51,11 @@ static void reset_cache(void)
if (never_hilight_level & rec->level)
never_hilight_level &= ~rec->level;
}
}
static void reset_cache(void)
{
reset_level_cache();
nickmatch_rebuild(nickmatch);
}
@ -672,6 +676,7 @@ static void hilight_nick_cache(GHashTable *list, CHANNEL_REC *channel,
static void read_settings(void)
{
default_hilight_level = settings_get_level("hilight_level");
reset_level_cache();
}
void hilight_text_init(void)