Really do not report unused monitors
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 10 Jun 2002 01:43:37 +0000 (01:43 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 10 Jun 2002 01:43:37 +0000 (01:43 +0000)
ledmodule.tcl

index 1d18fe3..f3231de 100644 (file)
@@ -553,7 +553,7 @@ def_ucmd who {
        upvar #0 deviceset/$d dd
        set m $dd(monname)
        upvar #0 monitor/$m mm
-       if {![info exists mm(group)]} continue
+       if {![info exists mm(chans)]} continue
        lappend r "sending $m to [dset_visibledest $d]"
     }
     ucmdr [join $r "\n"] {}