projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more wip and a nearly working basic thing
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index 3ae6afd601dd54bc8a1930223affabf4b31bf391..d0c995d9756c3bd582e3ed2c9db8766f6b38d5a0 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-303,6
+303,15
@@
sub sort
return @_ ? $self->{'sort'} = shift : $self->{'sort'} ;
}
return @_ ? $self->{'sort'} = shift : $self->{'sort'} ;
}
+# find out whether we are prepared to believe this callsign on this interface
+sub is_believed
+{
+ my $self = shift;
+ my $call = shift;
+
+ return grep $call eq $_, $self->user->believe;
+}
+
# handle out going messages, immediately without waiting for the select to drop
# this could, in theory, block
sub send_now
# handle out going messages, immediately without waiting for the select to drop
# this could, in theory, block
sub send_now