]> dxcluster.org Git - spider.git/commitdiff
move the prompt
authorminima <minima>
Fri, 14 Sep 2001 23:35:55 +0000 (23:35 +0000)
committerminima <minima>
Fri, 14 Sep 2001 23:35:55 +0000 (23:35 +0000)
perl/DXCommandmode.pm

index c2cab9f9bb619dc02ed6831ae9a1401b85f006af..4142f043f3aa024c98e07f4f5aff57e993c2ddd0 100644 (file)
@@ -128,7 +128,6 @@ sub start
        $self->send($self->msg('qll')) if !$user->qra || (!$user->lat && !$user->long);
        $self->send($self->msg('hnodee1')) if !$user->qth;
        $self->send($self->msg('m9')) if DXMsg::for_me($call);
-       $self->prompt;
 
        # decide on echo
        if (!$user->wantecho) {
@@ -149,6 +148,8 @@ sub start
        # run a script send the output to the punter
        my $script = new Script(lc $call) || new Script('user_default');
        $script->run($self) if $script;
+
+       $self->prompt;
 }
 
 #