1
0
Fork 0
forked from External/ergo

fix reverse dns

This commit is contained in:
Jeremy Latt 2014-02-10 19:39:53 -08:00
parent 4379cb8e1c
commit a34443f155
3 changed files with 12 additions and 19 deletions

View file

@ -33,7 +33,7 @@ func NewClient(server *Server, conn net.Conn) *Client {
client := &Client{
channels: make(ChannelSet),
conn: conn,
hostname: LookupHostname(conn.RemoteAddr()),
hostname: AddrLookupHostname(conn.RemoteAddr()),
replies: replies,
server: server,
}