reid %!s(int64=2) %!d(string=hai) anos
pai
achega
6b6473523f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      auth/auth.go

+ 1 - 0
auth/auth.go

@@ -56,6 +56,7 @@ func WsAuthCheck(conn *websocket.Conn) bool {
 	AuthenticatedClients.RLock()
 	defer AuthenticatedClients.RUnlock()
 	for _, con := range AuthenticatedClients.Conns {
+		fmt.Println(con) //debug
 		if con == conn {
 			config.Logger.Info("Client in auth map")
 			return true