X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Freply.pl;h=c8ef615d12a7c3776450ad5432ae9e2f0bc66b88;hb=f0ac8322367c66080b6dbb74da4de72dae126dc3;hp=c5ceaddf9a26c08bd746ff44f4428ebfe42fe54f;hpb=337f38bfac57a5e5df34c63094fb869b0e2f6bee;p=spider.git diff --git a/cmd/reply.pl b/cmd/reply.pl index c5ceaddf..c8ef615d 100644 --- a/cmd/reply.pl +++ b/cmd/reply.pl @@ -57,13 +57,13 @@ if ($self->state eq "prompt") { $oref = DXMsg::get($f[$i]); if (!$oref) { delete $self->{loc}; - return (0, "can't access message $i"); + return (1, $self->msg('m4', $i)); } } else { if (!($oref = DXMsg::get($self->lastread))) { delete $self->{loc}; - #return (0, $self->msg('esend2')); - return (0, "need a message number"); + return (1, $self->msg('m5')); + #return (1, "need a message number"); } } @@ -78,9 +78,12 @@ if ($self->state eq "prompt") { $self->func("DXMsg::do_send_stuff"); $self->state('sendbody'); #push @out, $self->msg('sendsubj'); - push @out, "Reply to: $to"; - push @out, "Subject : $loc->{subject}"; - push @out, "Enter Message /EX (^Z) to send or /ABORT (^Y) to exit"; +# push @out, "Reply to: $to"; +# push @out, "Subject : $loc->{subject}"; +# push @out, "Enter Message /EX (^Z) to send or /ABORT (^Y) to exit"; + push @out, $self->msg('m6', $to); + push @out, $self->msg('m7', $loc->{subject}); + push @out, $self->msg('m8'); } return (1, @out);