X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fnode.pl;h=185f906c7752db1fbd87f06e64c865867d67bd18;hb=bb3889c1d4930e2ca96b47aea10ce5e803737043;hp=82e8be11f9d90b0dcd127fdcc064ef834a087c48;hpb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;p=spider.git diff --git a/cmd/set/node.pl b/cmd/set/node.pl index 82e8be11..185f906c 100644 --- a/cmd/set/node.pl +++ b/cmd/set/node.pl @@ -19,11 +19,19 @@ return (1, $self->msg('e5')) if $self->priv < 5; foreach $call (@args) { $call = uc $call; + if ($call eq $main::mycall) { + push @out, $self->msg('e11', $call); + next; + } + if ($call eq $main::myalias) { + push @out, $self->msg('e11', $call); + next; + } my $chan = DXChannel::get($call); if ($chan) { push @out, $self->msg('nodee1', $call); } else { - $user = DXUser->get($call); + $user = DXUser::get($call); $create = !$user; $user = DXUser->new($call) if $create; if ($user) {