Rename "realIP" to "ip" in WhoWas struct.

It could be the real IP or the proxied IP.
This commit is contained in:
Alex Jaspersen 2021-06-20 11:13:18 -07:00
parent e5c2588eab
commit b6264a43b6
3 changed files with 3 additions and 3 deletions

View file

@ -436,7 +436,7 @@ func (client *Client) detailsNoMutex() (result ClientDetails) {
result.username = client.username
result.hostname = client.hostname
result.realname = client.realname
result.realIP = client.getIPNoMutex()
result.ip = client.getIPNoMutex()
result.nickMask = client.nickMaskString
result.nickMaskCasefolded = client.nickMaskCasefolded
result.account = client.account