mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
look up PROXY hostnames async
This commit is contained in:
parent
4b98d2a45b
commit
6e0ab99d38
@ -448,7 +448,9 @@ func (msg *CapCommand) 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user