diff options
-rw-r--r-- | ChangeLog.asciidoc | 1 | ||||
-rw-r--r-- | src/plugins/relay/relay-raw.c | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc index caa92f70c..05fef5b8c 100644 --- a/ChangeLog.asciidoc +++ b/ChangeLog.asciidoc @@ -31,6 +31,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] * irc: display the arrow before server name in raw buffer * irc: fix display of messages sent to server in raw buffer * irc: fix display of invalid UTF-8 chars in raw buffer +* relay: display the arrow before client id and protocol in raw buffer == Version 1.3 (2015-08-16) diff --git a/src/plugins/relay/relay-raw.c b/src/plugins/relay/relay-raw.c index 8280d7321..465cac7a6 100644 --- a/src/plugins/relay/relay-raw.c +++ b/src/plugins/relay/relay-raw.c @@ -295,7 +295,11 @@ relay_raw_message_add (struct t_relay_client *client, int flags, if (client) { - snprintf (prefix, sizeof (prefix), "%s[%s%d%s] %s%s%s%s %s%s", + snprintf (prefix, sizeof (prefix), "%s%s %s[%s%d%s] %s%s%s%s", + (flags & RELAY_RAW_FLAG_SEND) ? + weechat_color ("chat_prefix_quit") : + weechat_color ("chat_prefix_join"), + prefix_arrow, weechat_color ("chat_delimiters"), weechat_color ("chat"), client->id, @@ -303,11 +307,7 @@ relay_raw_message_add (struct t_relay_client *client, int flags, weechat_color ("chat_server"), relay_protocol_string[client->protocol], (client->protocol_args) ? "." : "", - (client->protocol_args) ? client->protocol_args : "", - (flags & RELAY_RAW_FLAG_SEND) ? - weechat_color ("chat_prefix_quit") : - weechat_color ("chat_prefix_join"), - prefix_arrow); + (client->protocol_args) ? client->protocol_args : ""); } else { |