fix sh/log things to allow all search strings
[spider.git] / cmd / show / announce.pl
index 2820c6c7f665c0638be3cbefb9fd10b79996ceca..267d27c330a4fe47181a8a8086c8a172dee4e5b2 100644 (file)
@@ -28,6 +28,12 @@ while ($f = shift @f) {                 # next field
                next if $to;
        }
        next if $who;
+       if ($f !~ /^\d+/) {
+               ($who) = $f;
+       }
+       if ($f !~ /^\d+/) {
+               ($who) = $f;
+       }
        #($who) = $f =~ /^(\w+)/o;
 }