X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fhomenode.pl;h=605c0c21063f4b9c07771542edf508e4bba3a95e;hb=ab811a0c902225075a9bd69749f65594079433a9;hp=cf8d97154d60a0316359452bd061c0b65554380a;hpb=6624dcdf07d628e8d6a16fc6549edf40be25b7b2;p=spider.git diff --git a/cmd/set/homenode.pl b/cmd/set/homenode.pl index cf8d9715..605c0c21 100644 --- a/cmd/set/homenode.pl +++ b/cmd/set/homenode.pl @@ -3,7 +3,7 @@ # # Copyright (c) 1998 - Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; @@ -17,14 +17,14 @@ $line =~ s/[{}]//g; # no braces allowed return (1, $self->msg('hnodee1')) if !$line; -$user = DXUser->get_current($call); +$user = DXUser::get_current($call); if ($user) { $line = uc $line; $user->homenode($line); $user->put(); my $s = DXProt::pc41($call, 4, $line); DXProt::eph_dup($s); - DXProt::broadcast_all_ak1a($s, $DXProt::me) ; + DXChannel::broadcast_all_nodes($s, $main::me) ; return (1, $self->msg('hnode', $line)); } else { return (1, $self->msg('namee2', $call));