no longer see many of the of talk like announces. Unfortunately you may
miss the odd useful one as well (but since everything is repeated many times
you probably won't :-)
+3. centralise the invalid callsign check.
13Sep01=======================================================================
1. did some work on making talk more intelligent and fixed a>b problem.
2. fixed a nasty problem on input when being hit with full buffers of
filter6 => '$_[0]$_[1] Filter for $[2] not found',
grids => 'DX Grid flag set on $_[0]',
gridu => 'DX Grid flag unset on $_[0]',
+ illcall => 'Sorry, $_[0] is an invalid callsign',
hasha => '$_[0] already exists in $_[1]',
hashb => '$_[0] added to $_[1]',
hashc => '$_[0] removed from $_[1]',
my ($conn, $msg) = @_;
my ($sort, $call, $line) = DXChannel::decode_input(0, $msg);
return unless defined $sort;
-
+
+ unless (is_callsign($call)) {
+ already_conn($conn, $call, DXM::msg($lang, "illcall", $call));
+ return;
+ }
+
# set up the basic channel info
# is there one already connected to me - locally?
my $user = DXUser->get($call);