1
0
mirror of https://github.com/irssi/irssi.git synced 2025-01-03 14:56:47 -05:00

"print text stripped" signal wasn't resent with MSGLEVEL_HILIGHT level.

This broke at least logging hilighted messages.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@383 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-27 19:11:25 +00:00 committed by cras
parent 2f53972523
commit 7718294fa0

View File

@ -182,6 +182,9 @@ static void sig_print_text_stripped(WINDOW_REC *window, SERVER_REC *server, cons
if (best_match > 0) {
hilight_next = FALSE;
signal_emit("print text stripped", 5, window, server, channel, GINT_TO_POINTER(level | MSGLEVEL_HILIGHT), str);
signal_stop();
if (color == NULL) color = "\00316";
newstr = g_strconcat(isdigit(*color) ? "\003" : "", color, str, NULL);
signal_emit("print text", 5, window, server, channel, GINT_TO_POINTER(level | MSGLEVEL_HILIGHT), newstr);