From: minima Date: Wed, 3 Oct 2001 10:11:59 +0000 (+0000) Subject: handle g1tlh@www type things X-Git-Tag: R_1_49~78 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=214add54f06130d9bbfce9045a814f6599f30812;p=spider.git handle g1tlh@www type things --- diff --git a/cmd/send.pl b/cmd/send.pl index c3ff8583..3bc2a6b3 100644 --- a/cmd/send.pl +++ b/cmd/send.pl @@ -32,7 +32,7 @@ $loc->{rrreq} = '0'; if ($self->state eq "prompt") { - my @f = split /\s+/, $line; + my @f = split /\b/, $line; # any thing after send? return (1, $self->msg('e6')) if !@f; diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index 46280dfa..5691b725 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -1207,7 +1207,7 @@ sub import_one # first line; my $line = shift @$ref; - my @f = split /\s+/, $line; + my @f = split /\b/, $line; unless (@f && $f[0] =~ /^(:?S|SP|SB|SEND)$/ ) { my $m = "invalid first line in import '$line'"; dbg($m) if isdbg('msg');