fix sh/log things to allow all search strings
[spider.git] / cmd / show / log.pl
index 82356bcd390029c726efc6e91f89c9389fc6f09f..b1023f29bea726cdf5182c58e0a4af6bf82f91ba 100644 (file)
@@ -27,7 +27,7 @@ sub handle
                        ($to) = $f =~ /^(\d+)$/o if !$to;              # is it a to count?
                        next if $to;
                }
-               unless ($who) {
+               unless ($f =~ /^\d+/) {
                        $who = $f; 
                        next if $who;
                }