summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 1815e82f4..c6fdb1280 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -271,7 +271,7 @@ irc_server_set_nick (struct t_irc_server *server, const char *nick)
for (ptr_channel = server->channels; ptr_channel;
ptr_channel = ptr_channel->next_channel)
{
- weechat_buffer_set (ptr_channel->buffer, "highlight_words", server->nick);
+ weechat_buffer_set (ptr_channel->buffer, "highlight_words", nick);
weechat_buffer_set (ptr_channel->buffer, "localvar_set_nick", nick);
}