1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +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 -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);