changeset 306:9858b93387a2

urllog: 100L.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 27 Jan 2015 08:44:15 +0200
parents 930a13c20d6c
children 30bb894cfb58
files urllog.tcl
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
     }