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;
} elsif ($f eq '<' && @f) { # this is bbs syntax for from call
$loc->{from} = uc shift @f;
} elsif ($f eq '@' && @f) { # this is bbs syntax, for send it 'to node'
- ;
+ shift @f;
} elsif ($f =~ /^\$/) { # this is bbs syntax for a bid
next;
} elsif ($f =~ /^<\S+/) { # this is bbs syntax for from call