diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-ctcp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-ctcp.c b/src/plugins/irc/irc-ctcp.c index c3a75d561..0a0d32900 100644 --- a/src/plugins/irc/irc-ctcp.c +++ b/src/plugins/irc/irc-ctcp.c @@ -1318,7 +1318,7 @@ irc_ctcp_display_send (struct t_irc_server *server, "irc_action,self_msg,notify_none,no_highlight", server->nick, NULL), - "%s%s -> %s%s%s: %s%s%s%s %s", + "%s%s -> %s%s%s: %s%s%s%s%s%s", weechat_prefix ("network"), /* TRANSLATORS: "Action" is an IRC CTCP "ACTION" sent with /me */ _("Action"), @@ -1328,8 +1328,9 @@ irc_ctcp_display_send (struct t_irc_server *server, irc_nick_mode_for_display (server, ptr_nick, 0), IRC_COLOR_CHAT_NICK_SELF, server->nick, - IRC_COLOR_RESET, - args); + (args && args[0]) ? IRC_COLOR_RESET : "", + (args && args[0]) ? " " : "", + (args && args[0]) ? args : ""); } else { |