return after serving meta page

This commit is contained in:
Daan Sprenkels 2020-01-05 00:14:53 +01:00
parent 095348d614
commit de19234108

View File

@ -108,6 +108,7 @@ func (rl *rushlink) viewPasteHandlerFlags(w http.ResponseWriter, r *http.Request
func (rl *rushlink) viewPasteHandlerInner(w http.ResponseWriter, r *http.Request, flags viewPaste, p *db.Paste, fu *db.FileUpload) {
if flags&viewShowMeta != 0 {
rl.viewPasteHandlerInnerMeta(w, r, p, fu)
return
}
switch p.State {