changeset 686:2c3df4981df5

urllog: Use user's stored handle (if available) when recording URLs.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 13 May 2022 15:22:44 +0300
parents 46fc0bc95195
children 7f1a0d25aa40
files urllog.tcl
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/urllog.tcl	Fri May 13 15:21:14 2022 +0300
+++ b/urllog.tcl	Fri May 13 15:22:44 2022 +0300
@@ -505,6 +505,11 @@
     return 0
   }
 
+  ### Use handle if available
+  if {$uhand != "" && $uhand != "*"} {
+    set unick $uhand
+  }
+
   ### Check the channel
   if {[utl_match_delim_list $urllog_log_channels $uchan]} {
     ### Do the URL checking