X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fuser.pl;h=62951074d1c0f743dcaa24b128d15a1aeaaab06f;hb=f63d598af3f797b56b8d5e23ec4ff5254192eee9;hp=832dcac68037b66debf737e01ea66ed6860fc455;hpb=741d603d871147fe3a9d047e27cdae30a03492c1;p=spider.git diff --git a/cmd/set/user.pl b/cmd/set/user.pl index 832dcac6..62951074 100644 --- a/cmd/set/user.pl +++ b/cmd/set/user.pl @@ -19,11 +19,15 @@ 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; + } my $chan = DXChannel::get($call); if ($chan) { push @out, $self->msg('nodee1', $call); } else { - $user = DXUser->get($call); + $user = DXUser::get($call); return (1, $self->msg('usernf', $call)) if !$user; $user->sort('U'); $user->priv(0);