return after serving meta page
This commit is contained in:
parent
095348d614
commit
de19234108
@ -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) {
|
func (rl *rushlink) viewPasteHandlerInner(w http.ResponseWriter, r *http.Request, flags viewPaste, p *db.Paste, fu *db.FileUpload) {
|
||||||
if flags&viewShowMeta != 0 {
|
if flags&viewShowMeta != 0 {
|
||||||
rl.viewPasteHandlerInnerMeta(w, r, p, fu)
|
rl.viewPasteHandlerInnerMeta(w, r, p, fu)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
switch p.State {
|
switch p.State {
|
||||||
|
Loading…
Reference in New Issue
Block a user