no message

This commit is contained in:
arraykeys
2018-05-04 17:42:59 +08:00
parent ff92c96d8d
commit e6c56675ca

View File

@ -332,7 +332,7 @@ func (s *SPS) 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 *SPS) InitBasicAuth() (err error) { func (s *SPS) InitBasicAuth() (err error) {