From 39f5ec5bee345fde3341f07ad159c7c4f2940362 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sat, 1 Apr 2017 12:22:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=87=D0=B8=D1=82=D1=8B=D0=B2=D0=B0?= =?UTF-8?q?=D0=B5=D0=BC=20=D1=81=D0=B8=D1=82=D1=83=D0=B0=D1=86=D0=B8=D1=8E?= =?UTF-8?q?,=20=D0=BA=D0=BE=D0=B3=D0=B4=D0=B0=20=D1=81=D0=BA=D0=B8=D0=BD?= =?UTF-8?q?=20=D0=B5=D1=81=D1=82=D1=8C,=20=D0=B0=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D1=81=D1=87=D0=B8=D1=82=D0=B0=D0=BD=D0=BD=D0=BE=D0=B9=20=D1=82?= =?UTF-8?q?=D0=B5=D0=BA=D1=81=D1=82=D1=83=D1=80=D1=8B=20-=20=D0=BD=D0=B5?= =?UTF-8?q?=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/SignedTextures.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/SignedTextures.go b/lib/routes/SignedTextures.go index 750a515..090a32f 100644 --- a/lib/routes/SignedTextures.go +++ b/lib/routes/SignedTextures.go @@ -17,7 +17,7 @@ func SignedTextures(w http.ResponseWriter, r *http.Request) { username := tools.ParseUsername(mux.Vars(r)["username"]) rec, err := data.FindSkinByUsername(username) - if (err != nil || rec.SkinId == 0) { + if (err != nil || rec.SkinId == 0 || rec.MojangTextures == "") { w.WriteHeader(http.StatusNoContent) return }