1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

irc: fix separator between nick and host in bar item "irc_nick_host"

Use "!" instead of "@" to separate nick from host, like it is done in IRC
protocol.

The nick and host is now displayed as "nick!user@host" instead of
"nick@user@host".
This commit is contained in:
Sébastien Helleu
2021-02-27 09:02:09 +01:00
parent 6a7da6d473
commit 83379469aa
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@ Bug fixes::
* core: do not remove quotes in arguments of command /eval as they can be part of the evaluated expression/condition (issue #1601)
* core: display an error when the buffer is not found with command /command -buffer
* buflist: add option buflist.look.use_items to speed up display of buflist (issue #1613)
* irc: fix separator between nick and host in bar item "irc_nick_host"
* irc: fix completion of commands /halfop and /dehalfop
Documentation::
+1 -1
View File
@@ -472,7 +472,7 @@ irc_bar_item_nick_host (const void *pointer, void *data,
snprintf (buf, sizeof (buf), "%s%s%s",
server->nick,
(server->host) ? "@" : "",
(server->host) ? "!" : "",
(server->host) ? server->host : "");
return strdup (buf);