From 17621e46d8fa8fc442298494280b38be0d8f3e79 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 9 Jun 2002 23:47:38 +0000 Subject: [PATCH] Do not debug if debug off --- ledmodule.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledmodule.tcl b/ledmodule.tcl index 250f600..27e08cc 100644 --- a/ledmodule.tcl +++ b/ledmodule.tcl @@ -80,7 +80,7 @@ proc ldebug {facil m} { # d$deviceset # c$lchan # {} for system stuff - if {![llength debugusers]} return + if {![llength $debugusers]} return if {[regexp {[md]([^:]+)\:} $facil dummy username] && [lsearch -exact $debugusers $username]==-1} return -- 2.11.0