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