mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
xfer: add "network" prefix for (dis)connection messages in xfer chat buffer
This commit is contained in:
@@ -372,8 +372,9 @@ xfer_chat_open_buffer (struct t_xfer *xfer)
|
||||
}
|
||||
|
||||
weechat_printf (xfer->buffer,
|
||||
_("Connected to %s (%ld.%ld.%ld.%ld) via "
|
||||
"xfer chat"),
|
||||
_("%s%s: connected to %s (%ld.%ld.%ld.%ld)"),
|
||||
weechat_prefix ("network"),
|
||||
XFER_PLUGIN_NAME,
|
||||
xfer->remote_nick,
|
||||
xfer->remote_address >> 24,
|
||||
(xfer->remote_address >> 16) & 0xff,
|
||||
|
||||
@@ -313,8 +313,9 @@ xfer_close (struct t_xfer *xfer, enum t_xfer_status status)
|
||||
if (XFER_IS_CHAT(xfer->type))
|
||||
{
|
||||
weechat_printf (xfer->buffer,
|
||||
_("%s: chat closed with %s "
|
||||
_("%s%s: chat closed with %s "
|
||||
"(%ld.%ld.%ld.%ld)"),
|
||||
weechat_prefix ("network"),
|
||||
XFER_PLUGIN_NAME,
|
||||
xfer->remote_nick,
|
||||
xfer->remote_address >> 24,
|
||||
|
||||
Reference in New Issue
Block a user