3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-23 11:12:44 +01:00

Merge pull request #356 from csmith/username-hostname-fix

Fix usernames being used in place of hostnames.
This commit is contained in:
Shivaram Lingamneni 2019-02-06 14:19:16 -05:00 committed by GitHub
commit 4083c7cf0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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