diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-02-27 09:02:09 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-02-27 09:02:09 +0100 |
commit | 83379469aad276d8cf5de53380017b778af7d511 (patch) | |
tree | f11d8575ff34ccc5941be305d3fec6a3359612dc /src/plugins/irc | |
parent | 6a7da6d473a0cb4e740c80ad419c63028534781a (diff) | |
download | weechat-83379469aad276d8cf5de53380017b778af7d511.zip |
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".
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-bar-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c index 4dd7ea8d5..f8c85f29c 100644 --- a/src/plugins/irc/irc-bar-item.c +++ b/src/plugins/irc/irc-bar-item.c @@ -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); |