04Nov00=======================================================================
1. fix sh/filter so ity now works for any callsign (and not just connected
ones).
+2. Have only one is_callsign and not an iscallsign as well.
03Nov00=======================================================================
1. allow - in filter strings
2. store only the filter expression NOTE BENE: you will need to clear all
# look to see whether this is a non private message sent to a known callsign
my $uref = DXUser->get_current($ref->{to});
- if (iscallsign($ref->{to}) && !$ref->{private} && $uref && $uref->homenode) {
+ if (is_callsign($ref->{to}) && !$ref->{private} && $uref && $uref->homenode) {
$ref->{private} = 1;
dbg('msg', "set bull to $ref->{to} to private");
}
@ISA = qw(Exporter);
@EXPORT = qw(atime ztime cldate cldatetime slat slong yesno promptf
parray parraypairs shellregex readfilestr writefilestr
- print_all_fields cltounix iscallsign unpad is_callsign
+ print_all_fields cltounix unpad is_callsign
is_freq is_digits is_pctext is_pcflag insertitem deleteitem
);
$s =~ s/\s+//og;
$s =~ s/-\d+$//o; # no ssids!
cease(0) unless $s && $s gt ' ';
- unless (iscallsign($s)) {
+ unless (is_callsign($s)) {
$stdout->print("Sorry, $s is an invalid callsign");
cease(0);
}