diff options
-rw-r--r-- | src/fe-common/core/hilight-text.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c index 4ce14df7..7050e9f1 100644 --- a/src/fe-common/core/hilight-text.c +++ b/src/fe-common/core/hilight-text.c @@ -272,6 +272,7 @@ static void hilight_update_text_dest(TEXT_DEST_REC *dest, HILIGHT_REC *rec) if (rec->priority > 0) dest->hilight_priority = rec->priority; + g_free_not_null(dest->hilight_color); dest->hilight_color = hilight_get_act_color(rec); } @@ -292,7 +293,7 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text, &hilight_end); if (hilight == NULL) return; - + if (hilight->nick && (dest->level & (MSGLEVEL_PUBLIC|MSGLEVEL_ACTIONS)) == MSGLEVEL_PUBLIC) return; /* fe-messages.c should have taken care of this */ |