X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fchat.pl;h=6e209e25dbd5645cccc6bad700b372b2b3e77ac8;hb=e2ca7811e49048bfad82ec31e148a79fe9904e2b;hp=9f543df58717b50aa4fbe707e7e9f62f20d5df57;hpb=f2c90f82509ae2be33216ebaed3bc9f8ea3f5f80;p=spider.git diff --git a/cmd/show/chat.pl b/cmd/show/chat.pl index 9f543df5..6e209e25 100644 --- a/cmd/show/chat.pl +++ b/cmd/show/chat.pl @@ -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;