From 6af447047324d84b882d9c4d4411971b6f4cf016 Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 3 Aug 2017 12:09:11 -0400 Subject: [PATCH] fix last --- contrib/backends/srndv2/src/srnd/null_cache.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/backends/srndv2/src/srnd/null_cache.go b/contrib/backends/srndv2/src/srnd/null_cache.go index 50d8aa5..adf6e69 100644 --- a/contrib/backends/srndv2/src/srnd/null_cache.go +++ b/contrib/backends/srndv2/src/srnd/null_cache.go @@ -35,6 +35,11 @@ func (self *nullHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { hash := parts[0] msg, err := self.database.GetMessageIDByHash(hash) if err == nil { + + if !db.HasArticleLocal(msg.MessageID()) { + goto notfound + } + template.genThread(self.attachments, self.requireCaptcha, msg, self.prefix, self.name, w, self.database, isjson) return } else {