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