# HG changeset patch # User Matti Hamalainen # Date 1422341055 -7200 # Node ID 9858b93387a2a0d33e81a7af47a840e7a9640dcf # Parent 930a13c20d6c5f5d6f8d083101d6d7d68d648522 urllog: 100L. diff -r 930a13c20d6c -r 9858b93387a2 urllog.tcl --- a/urllog.tcl Tue Jan 27 08:41:58 2015 +0200 +++ b/urllog.tcl Tue Jan 27 08:44:15 2015 +0200 @@ -392,14 +392,14 @@ ### Do we perform additional checks? if {$urllog_extra_checks == 0 || !(($http_tls_support != 0 && $u_proto == "https") || $u_proto == "http")} { # No optional checks, or it's not http/https. - if ($urllog_extra_strict == 0} { + if {$urllog_extra_strict == 0} { # Strict checking disabled, so add the URL, if it does not exist already. urllog_addurl $urlStr $urlNick $urlHost $urlChan "" return 1 - } elseif ($http_tls_support == 0 && $u_proto == "https") { + } elseif {$http_tls_support == 0 && $u_proto == "https"} { # Strict ENABLED: If TLS support is disabled and we have https, do nothing return 1 - } elseif ($u_proto != "http" && $u_prot != "https") { + } elseif {$u_proto != "http" && $u_prot != "https"} { # Strict ENABLED: It's not http, or https return 1 }