Browse Source

Merge pull request #1981 from slingamn/issue1980

fix #1980
tags/v2.11.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
096c12fb52
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go View File

@@ -3358,7 +3358,7 @@ func (client *Client) rplWhoReply(channel *Channel, target *Client, rb *Response
3358 3358
 		if canSeeIPs || client == target {
3359 3359
 			// you can only see a target's IP if they're you or you're an oper
3360 3360
 			ip, _ := target.getWhoisActually()
3361
-			fIP = ip.String()
3361
+			fIP = utils.IPStringToHostname(ip.String())
3362 3362
 		}
3363 3363
 		params = append(params, fIP)
3364 3364
 	}

Loading…
Cancel
Save