fix search terms starting with \d+ in sh/log etc
[spider.git] / cmd / show / chat.pl
index cc251c10727f1e0e71f407e9142b977e285d2e4a..6b01d20675b557432d161cb4cf9c3ed8e62d59bb 100644 (file)
@@ -1,7 +1,7 @@
 #
 # print out the general log file for chat only
 #
-# Copyright (c) 1998-2003 - Dirk Koopman G1TLH
+# Copyright (c) 1998-2023 - Dirk Koopman G1TLH
 #
 #
 #
@@ -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;
 }