fix sh/log things to allow all search strings
[spider.git] / cmd / show / chat.pl
index 9f543df58717b50aa4fbe707e7e9f62f20d5df57..6e209e25dbd5645cccc6bad700b372b2b3e77ac8 100644 (file)
@@ -28,7 +28,10 @@ while ($f = shift @f) {                 # next field
                next if $to;
        }
        next if $who;
-       ($who) = $f =~ /^(\w+)/o;
+       if ($f !~ /^\d+/) {
+               ($who) = $f;
+       }
+#      ($who) = $f =~ /^(\w+)/o;
 }
 
 $to = 20 unless $to;