From e6c56675caef94883ab2e58506b8bebadcff240f Mon Sep 17 00:00:00 2001 From: arraykeys Date: Fri, 4 May 2018 17:42:59 +0800 Subject: [PATCH] no message --- services/sps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sps.go b/services/sps.go index d41f72a..b10aabc 100644 --- a/services/sps.go +++ b/services/sps.go @@ -332,7 +332,7 @@ func (s *SPS) OutToTCP(inConn *net.Conn) (err error) { if c, ok := s.userConns.Get(inAddr); ok { (*c.(*net.Conn)).Close() } - s.userConns.Set(inAddr, &inConn) + s.userConns.Set(inAddr, inConn) return } func (s *SPS) InitBasicAuth() (err error) {