X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXMsg.pm;h=5691b725dbbda64231cef15696d5f48ea132cc69;hb=214add54f06130d9bbfce9045a814f6599f30812;hp=bd6118768f93011462fe834f997e266a7912d823;hpb=ba97b5ce3899461ec8b630cc305c58eff36d301f;p=spider.git diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index bd611876..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'); @@ -1225,7 +1225,7 @@ sub import_one } elsif ($notincalls && ($f eq 'RR')) { $rr = '1'; } elsif ($f eq '@' && @f) { # this is bbs syntax, for AT - next; + shift @f; } elsif ($f eq '<' && @f) { # this is bbs syntax for from call $from = uc shift @f; } elsif ($f =~ /^\$/) { # this is bbs syntax for a bid