3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00

Fix usernames being used in place of hostnames.

Closes #355
This commit is contained in:
Chris Smith 2019-02-06 19:14:32 +00:00
parent 8eefe869d0
commit 34a9a37b82

View File

@ -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