+28Nov99=======================================================================
+1. fixed all the stupid errors introduced in 1.36 confusing DXUser->get with
+DXCluster->get_exact.
24Nov99=======================================================================
1. extended badmsg.pl stuff so that it works like the forward file and allows
one to reject on to, from, origin and subject fields.
then this command will set your QRA locator for you. For example:-
SET/LOCATION 52 22 N 0 57 E
+=== 0^SET/LOGININFO^Inform when a station logs in locally
+=== 0^UNSET/LOGININFO^Inform when a station logs out locally
+
=== 9^SET/LOCKOUT <call>^Stop a callsign connecting to the cluster
=== 9^UNSET/LOCKOUT <call>^Allow a callsign to connect to the cluster
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser->get_exact($call);
+ $user = DXUser->get($call);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser->get_exact($call);
+ $user = DXUser->get($call);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
foreach $call (@args) {
$call = uc $call;
- my $dxchan = DXChannel->get($call);
- $user = $dxchan->user if $dxchan;
- $user = DXUser->get_exact($call) unless $user;
+ $user = DXUser->get_current($call);
if ($user) {
unless ($user->sort eq 'A' || $user->sort eq 'S') {
push @out, $self->msg('e13', $call);
$call = uc $call;
my $dxchan = DXChannel->get($call);
$user = $dxchan->user if $dxchan;
- $user = DXUser->get_exact($call) unless $user;
+ $user = DXUser->get($call) unless $user;
if ($user) {
unless ($user->sort eq 'A' || $user->sort eq 'S') {
push @out, $self->msg('e13', $call);
$ref->user->priv($priv);
$ref->user->put();
}
- if (!$ref && ($user = DXUser->get_exact($call))) {
+ if (!$ref && ($user = DXUser->get($call))) {
$user->priv($priv);
$user->put();
}
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser->get_exact($call);
+ $user = DXUser->get($call);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
$miles = $dx * 0.62133785;
}
- my $cref = DXCluster->get($call);
+ my $cref = DXCluster->get_exact($call);
+ $cref = DXCluster->get($call) unless $cref;
my $seek = $cref->mynode->call if $cref;
if ($seek) {
my @out;
$call = uc $call;
-my $user = DXUser->get_exact($call);
+my $user = DXUser->get($call);
unless ($user) {
$user = DXUser->new($call);
push @out, $self->msg('spf1', $call);
foreach $call (@args) {
$call = uc $call;
my $dxchan = DXChannel->get($call);
- my $ref = DXCluster->get($call);
+ my $ref = DXCluster->get_exact($call);
if ($dxchan && $ref) {
$dxchan->here(0);
$ref->here(0);
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser->get_exact($call);
+ $user = DXUser->get($call);
return (1, $self->msg('usernf', $call)) if !$user;
$user->isolate(0);
$user->close();
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser->get_exact($call);
+ $user = DXUser->get($call);
return (1, $self->msg('usernf', $call)) if !$user;
$user->sort('U');
$user->close();
@inqueue = (); # the main input queue, an array of hashes
$systime = 0; # the time now (in seconds)
-$version = "1.36"; # the version no of the software
+$version = "1.37"; # the version no of the software
$starttime = 0; # the starting time of the cluster
$lockfn = "cluster.lock"; # lock file name
@outstanding_connects = (); # list of outstanding connects