From 2885b377689e1cd6319176400a4a4febc7767f9f Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Thu, 15 Mar 2018 20:41:49 -0400 Subject: [PATCH] partial fix for #217 See discussion on issue; this might not be a complete fix but it's definitely better than the current behavior. --- irc/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/server.go b/irc/server.go index 9e6e0a22..b78584e8 100644 --- a/irc/server.go +++ b/irc/server.go @@ -642,7 +642,7 @@ func (client *Client) getWhoisOf(target *Client, rb *ResponseBuffer) { rb.Add(nil, client.server.name, RPL_WHOISSECURE, client.nick, target.nick, client.t("is using a secure connection")) } if target.LoggedIntoAccount() { - rb.Add(nil, client.server.name, RPL_WHOISACCOUNT, client.nick, client.AccountName(), client.t("is logged in as")) + rb.Add(nil, client.server.name, RPL_WHOISACCOUNT, client.nick, target.AccountName(), client.t("is logged in as")) } if target.flags[modes.Bot] { rb.Add(nil, client.server.name, RPL_WHOISBOT, client.nick, target.nick, ircfmt.Unescape(fmt.Sprintf(client.t("is a $bBot$b on %s"), client.server.networkName)))