projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
[spider.git]
/
cmd
/
connect.pl
diff --git
a/cmd/connect.pl
b/cmd/connect.pl
index 7fb3b7f4cc40789039ad6186e862abb4e9637bc7..e1263887d96e99fd0fe00b6a82402054bf4cdb5f 100644
(file)
--- a/
cmd/connect.pl
+++ b/
cmd/connect.pl
@@
-3,8
+3,12
@@
#
my $self = shift;
my $call = uc shift;
#
my $self = shift;
my $call = uc shift;
-return (0) if $self->priv < 9;
+my $lccall = lc $call;
+
+return (0) if $self->priv < 8;
+return (1, $self->msg('e6')) unless $call gt ' ';
return (1, $self->msg('already', $call)) if DXChannel::get($call);
return (1, $self->msg('already', $call)) if DXChannel::get($call);
+return (1, $self->msg('conscript', $lccall)) unless -e "$main::root/connect/$lccall";
my $prog = "$main::root/local/client.pl";
$prog = "$main::root/perl/client.pl" if ! -e $prog;
my $prog = "$main::root/local/client.pl";
$prog = "$main::root/perl/client.pl" if ! -e $prog;