X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fbbs.pl;h=9a3f517a30adc03f2641b3ab8bed8b0400bcbdcc;hb=1a9286080b21d5b65f97cab08d8a493abafad8f1;hp=d0960a30b6f56b49fcd5aeb5c2689480f9b883da;hpb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;p=spider.git diff --git a/cmd/set/bbs.pl b/cmd/set/bbs.pl index d0960a30..9a3f517a 100644 --- a/cmd/set/bbs.pl +++ b/cmd/set/bbs.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) {