3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

don't use a goroutine when initializing clients

This commit is contained in:
Jeremy Latt 2014-02-16 22:26:33 -08:00
parent cd4503be31
commit dc5e258f88

View File

@ -122,7 +122,7 @@ func (s *Server) listen(config ListenerConfig) {
if DEBUG_SERVER {
log.Print("Server.Accept: ", conn.RemoteAddr())
}
go NewClient(s, conn)
NewClient(s, conn)
}
}