diff options
author | Valentin Batz <senneth@irssi.org> | 2005-10-16 11:16:33 +0000 |
---|---|---|
committer | vb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-10-16 11:16:33 +0000 |
commit | 0b8a23ad637c62ab763ef79397e81de91d4b627b (patch) | |
tree | a878aa3c66fa75976b28e53b00bce885af4e539c /src/fe-common | |
parent | 4a7107437d7d8d6c23a3a7c133c3adac588bec1c (diff) | |
download | irssi-0b8a23ad637c62ab763ef79397e81de91d4b627b.zip |
fixed a bug in recode when target is NULL and really use the recoded string for printing
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4042 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/irc/fe-irc-messages.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-irc-messages.c b/src/fe-common/irc/fe-irc-messages.c index 538eb8ec..47922d4e 100644 --- a/src/fe-common/irc/fe-irc-messages.c +++ b/src/fe-common/irc/fe-irc-messages.c @@ -196,7 +196,7 @@ static void sig_message_own_notice(IRC_SERVER_REC *server, const char *msg, char *recoded = recode_in(SERVER(server), msg, target); printformat(server, skip_target(target), MSGLEVEL_NOTICES | MSGLEVEL_NOHILIGHT | MSGLEVEL_NO_ACT, - IRCTXT_OWN_NOTICE, target, msg); + IRCTXT_OWN_NOTICE, target, recoded); g_free(recoded); } @@ -216,7 +216,7 @@ static void sig_message_irc_notice(SERVER_REC *server, const char *msg, if (!ignore_check(server, nick, "", target, msg, MSGLEVEL_SNOTES)) { printformat(server, target, MSGLEVEL_SNOTES, - IRCTXT_NOTICE_SERVER, nick, msg); + IRCTXT_NOTICE_SERVER, nick, recoded); } g_free(recoded); return; |