# HG changeset patch # User Matti Hamalainen # Date 1370341432 -10800 # Node ID 76eefceb2b902e67ce0c01923cc2d2ae791a830c # Parent 50bf17f1ba393779c411a3a5866925fd3d96bccc Fix additional checks for HTTPS urls. diff -r 50bf17f1ba39 -r 76eefceb2b90 urllog.tcl --- a/urllog.tcl Tue Jun 04 13:23:14 2013 +0300 +++ b/urllog.tcl Tue Jun 04 13:23:52 2013 +0300 @@ -468,7 +468,9 @@ } ### Do we perform additional optional checks? - if {$urllog_check == 0 || ($http_tls_support == 0 && $u_proto == "https") || $u_proto != "http"} { + if {$urllog_check != 0 && (($http_tls_support != 0 && $u_proto == "https") || $u_proto == "http")} { + # Ok + } else { # No optional checks, just add the URL, if it does not exist already urllog_addurl $urlStr $urlNick $urlHost $urlChan "" return 1