X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fbbs.pl;h=9a3f517a30adc03f2641b3ab8bed8b0400bcbdcc;hb=306307c71522cb0a3f5834e5ea1621d6fae65991;hp=0cb6cf3905bab18dab7e0895be3af924afa736ac;hpb=b67b50de92dbf61ce939b42f7c74e30dc58eba41;p=spider.git diff --git a/cmd/set/bbs.pl b/cmd/set/bbs.pl index 0cb6cf39..9a3f517a 100644 --- a/cmd/set/bbs.pl +++ b/cmd/set/bbs.pl @@ -5,7 +5,7 @@ # # Copyright (c) 2001 - Dirk Koopman # -# $Id$ +# # my ($self, $line) = @_; @@ -19,11 +19,19 @@ return (1, $self->msg('e5')) if $self->priv < 5; foreach $call (@args) { $call = uc $call; - my $chan = DXChannel->get($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) {