mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
look up PROXY hostnames async
This commit is contained in:
parent
4b98d2a45b
commit
6e0ab99d38
1 changed files with 3 additions and 1 deletions
|
|
@ -448,7 +448,9 @@ func (msg *CapCommand) HandleServer(server *Server) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (msg *ProxyCommand) HandleServer(server *Server) {
|
func (msg *ProxyCommand) HandleServer(server *Server) {
|
||||||
|
go func() {
|
||||||
msg.Client().hostname = LookupHostname(msg.sourceIP)
|
msg.Client().hostname = LookupHostname(msg.sourceIP)
|
||||||
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (msg *AwayCommand) HandleServer(server *Server) {
|
func (msg *AwayCommand) HandleServer(server *Server) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue