summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer-chat.c
diff options
context:
space:
mode:
authorAndrew Potter <agpotter@gmail.com>2014-01-09 12:48:54 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-01-09 12:48:54 +0100
commit144dc60d0ab062aa5b3943d57f8f6515310f2dd5 (patch)
tree06c0e13ad72be462a3b018cf9905c5af5921ff07 /src/plugins/xfer/xfer-chat.c
parent9040dfbf521b12b675b6f7d5d93bb10767a40f90 (diff)
downloadweechat-144dc60d0ab062aa5b3943d57f8f6515310f2dd5.zip
xfer: add support of IPv6 for DCC chat/file (patch #7992)
Diffstat (limited to 'src/plugins/xfer/xfer-chat.c')
-rw-r--r--src/plugins/xfer/xfer-chat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/xfer/xfer-chat.c b/src/plugins/xfer/xfer-chat.c
index cf9b5202b..c465d4f22 100644
--- a/src/plugins/xfer/xfer-chat.c
+++ b/src/plugins/xfer/xfer-chat.c
@@ -372,14 +372,11 @@ xfer_chat_open_buffer (struct t_xfer *xfer)
}
weechat_printf (xfer->buffer,
- _("%s%s: connected to %s (%ld.%ld.%ld.%ld)"),
+ _("%s%s: connected to %s (%s) via xfer chat"),
weechat_prefix ("network"),
XFER_PLUGIN_NAME,
xfer->remote_nick,
- xfer->remote_address >> 24,
- (xfer->remote_address >> 16) & 0xff,
- (xfer->remote_address >> 8) & 0xff,
- xfer->remote_address & 0xff);
+ xfer->remote_address_str);
free (name);
}