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

look up PROXY hostnames async

This commit is contained in:
Jeremy Latt 2014-02-13 11:27:04 -08:00
parent 4b98d2a45b
commit 6e0ab99d38

View File

@ -448,7 +448,9 @@ func (msg *CapCommand) HandleServer(server *Server) {
} }
func (msg *ProxyCommand) HandleServer(server *Server) { func (msg *ProxyCommand) HandleServer(server *Server) {
msg.Client().hostname = LookupHostname(msg.sourceIP) go func() {
msg.Client().hostname = LookupHostname(msg.sourceIP)
}()
} }
func (msg *AwayCommand) HandleServer(server *Server) { func (msg *AwayCommand) HandleServer(server *Server) {