projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix RBN (and other) basecall issues
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index f5fc6eb26c4f792b6ff50acb08051ef2aa3df652..c2358c3dd2366f56e1d7018c23fde7d474bb288d 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-360,6
+360,11
@@
sub is_rbn
return $_[0]->{sort} eq 'N';
}
return $_[0]->{sort} eq 'N';
}
+sub is_dslink
+{
+ return $_[0]->{sort} eq 'L';
+}
+
# for perl 5.004's benefit
sub sort
{
# for perl 5.004's benefit
sub sort
{
@@
-765,6
+770,20
@@
sub error_handler
}
}
+sub isregistered
+{
+ my $self = shift;
+
+ # the sysop is registered!
+ return 1 if $self->{call} eq $main::myalias || $self->{call} eq $main::mycall;
+
+ if ($main::reqreg) {
+ return $self->{registered};
+ } else {
+ return 1;
+ }
+}
+
#no strict;
sub AUTOLOAD
{
#no strict;
sub AUTOLOAD
{