X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fspider.pl;h=28a91a12e50d045e8df2013426b8036c1f642538;hb=a24cc09d8262093df92c767d3010c0a5fd6e42d7;hp=bd50853cdc91b7240e0d33df8f4f57a44fe1eea9;hpb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;p=spider.git diff --git a/cmd/set/spider.pl b/cmd/set/spider.pl index bd50853c..28a91a12 100644 --- a/cmd/set/spider.pl +++ b/cmd/set/spider.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) {