diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-09-26 16:47:52 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-09-26 16:47:52 +0200 |
commit | b3c4f3d7d2ca37053f8065c27e26b8b0e5269445 (patch) | |
tree | fa3e702a70e5388897653273c5e9a00664af8be4 /src/plugins/relay/relay-client.c | |
parent | 5f8a7e8d3141f074bd74dc1eb8901cae452a4cd1 (diff) | |
download | weechat-b3c4f3d7d2ca37053f8065c27e26b8b0e5269445.zip |
relay: add tag "relay_client" for messages of new/disconnected client
Diffstat (limited to 'src/plugins/relay/relay-client.c')
-rw-r--r-- | src/plugins/relay/relay-client.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c index 8c98e5718..9bd91f666 100644 --- a/src/plugins/relay/relay-client.c +++ b/src/plugins/relay/relay-client.c @@ -729,13 +729,13 @@ relay_client_new (int sock, const char *address, struct t_relay_server *server) last_relay_client = new_client; relay_clients = new_client; - weechat_printf (NULL, - _("%s: new client on port %d: %s%s%s"), - RELAY_PLUGIN_NAME, - server->port, - RELAY_COLOR_CHAT_CLIENT, - new_client->desc, - RELAY_COLOR_CHAT); + weechat_printf_tags (NULL, "relay_client", + _("%s: new client on port %d: %s%s%s"), + RELAY_PLUGIN_NAME, + server->port, + RELAY_COLOR_CHAT_CLIENT, + new_client->desc, + RELAY_COLOR_CHAT); new_client->hook_fd = weechat_hook_fd (new_client->sock, 1, 0, 0, @@ -882,12 +882,12 @@ relay_client_set_status (struct t_relay_client *client, RELAY_COLOR_CHAT); break; case RELAY_STATUS_DISCONNECTED: - weechat_printf (NULL, - _("%s: disconnected from client %s%s%s"), - RELAY_PLUGIN_NAME, - RELAY_COLOR_CHAT_CLIENT, - client->desc, - RELAY_COLOR_CHAT); + weechat_printf_tags (NULL, "relay_client", + _("%s: disconnected from client %s%s%s"), + RELAY_PLUGIN_NAME, + RELAY_COLOR_CHAT_CLIENT, + client->desc, + RELAY_COLOR_CHAT); break; default: break; |