Allow synonyms for localhost
[spider.git] / cmd / show / log.pl
index 82356bcd390029c726efc6e91f89c9389fc6f09f..ec84daa0af781343767cd915409388642756a553 100644 (file)
@@ -24,10 +24,10 @@ sub handle
                        next if $from && $to > $from;
                }
                unless ($to) {
-                       ($to) = $f =~ /^(\d+)$/o if !$to;              # is it a to count?
+                       ($to) = $f =~ /^(\d+)$/ if !$to;              # is it a to count?
                        next if $to;
                }
-               unless ($who) {
+               unless ($f =~ /^\d+/) {
                        $who = $f; 
                        next if $who;
                }