Fixed bug where -v + -s stops -s from working

This commit is contained in:
Seednode 2022-09-17 13:38:07 -05:00
parent f332fb24a8
commit 0b7b9983a5
1 changed files with 4 additions and 4 deletions

View File

@ -138,11 +138,11 @@ func serveHtmlHandler(paths []string) http.HandlerFunc {
if Successive { if Successive {
refererUri := refererToUri(r.Referer()) refererUri := refererToUri(r.Referer())
if refererUri != "" && Verbose { if refererUri != "" {
if Verbose {
fmt.Printf("Referer is %v\n", refererUri) fmt.Printf("Referer is %v\n", refererUri)
} }
if refererUri != "" {
f, err := url.QueryUnescape(refererUri) f, err := url.QueryUnescape(refererUri)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)