X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fchat.pl;h=6e209e25dbd5645cccc6bad700b372b2b3e77ac8;hb=62a87def961821679e455f333a58bc8c357e0457;hp=cc251c10727f1e0e71f407e9142b977e285d2e4a;hpb=bdb2057b06d14c2cdba899869ba7929f052b2b50;p=spider.git diff --git a/cmd/show/chat.pl b/cmd/show/chat.pl index cc251c10..6e209e25 100644 --- a/cmd/show/chat.pl +++ b/cmd/show/chat.pl @@ -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; }