no message

This commit is contained in:
arraykeys
2018-05-04 17:49:56 +08:00
parent e6c56675ca
commit 6f47d12498

View File

@ -148,7 +148,7 @@ func (s *TCP) OutToTCP(inConn *net.Conn) (err error) {
if c, ok := s.userConns.Get(inAddr); ok { if c, ok := s.userConns.Get(inAddr); ok {
(*c.(*net.Conn)).Close() (*c.(*net.Conn)).Close()
} }
s.userConns.Set(inAddr, &inConn) s.userConns.Set(inAddr, inConn)
return return
} }
func (s *TCP) OutToUDP(inConn *net.Conn) (err error) { func (s *TCP) OutToUDP(inConn *net.Conn) (err error) {