1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

irc: fix display of messages sent to server in raw buffer

Since the received messages are displayed without UTF-8 conversion (ie
this is really the data received), it is consistent to display the
message really sent to server (ie after charset conversion), instead of
the UTF-8 internal message.
This commit is contained in:
Sébastien Helleu
2015-08-22 08:56:07 +02:00
parent 2c4b0e32ec
commit 8b47243516
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -2184,7 +2184,8 @@ irc_server_send_one_msg (struct t_irc_server *server, int flags,
{
if (first_message)
{
irc_raw_print (server, IRC_RAW_FLAG_SEND, message);
irc_raw_print (server, IRC_RAW_FLAG_SEND,
(msg_encoded) ? msg_encoded : message);
}
if (new_msg)
{