chiark / gitweb /
Really do not report unused monitors
[ircbot.git] / ledmodule.tcl
index 1d18fe3265770e4c6c86aad00b0ac28ffd697372..f3231de43a0c2fe7bc2111016a5dd1decee27437 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"] {}