X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=e429654c3de92d592955f5da5623ff58564b3383;hb=4f4cd7ea04f04162f2e755981b4c716deb792cef;hp=1450a6c644cccaa3eb214a26d3e393b1102e0fa0;hpb=d5b4190c36f130852973121042876af3c5642cd7;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 1450a6c6..e429654c 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -264,7 +264,8 @@ sub finish open(I, "$main::data/logout") or confess; my @in = ; close(I); - $self->sendnow('D', @in); + $self->send_now('D', @in); + sleep(1); } if ($call eq $main::myalias) { # unset the channel if it is us really @@ -289,9 +290,7 @@ sub finish sub prompt { my $self = shift; - my $call = $self->{call}; - $self->send($self->msg('pr', $call)); - #DXChannel::msg($self, 'pr', $call); + $self->send($self->msg($self->here ? 'pr' : 'pr2', $self->call)); } # broadcast a message to all users [except those mentioned after buffer]