mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 10:42:52 +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