From 34a9a37b8232972d7a8b1c74074ff1cec7beba18 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 6 Feb 2019 19:14:32 +0000 Subject: [PATCH] Fix usernames being used in place of hostnames. Closes #355 --- irc/getters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/getters.go b/irc/getters.go index ff3f8c85..457d311a 100644 --- a/irc/getters.go +++ b/irc/getters.go @@ -195,7 +195,7 @@ func (client *Client) Details() (result ClientDetails) { result.nick = client.nick result.nickCasefolded = client.nickCasefolded result.username = client.username - result.hostname = client.username + result.hostname = client.hostname result.realname = client.realname result.nickMask = client.nickMaskString result.nickMaskCasefolded = client.nickMaskCasefolded