X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fhere.pl;h=b89d47d779c520642a6b5741f6a3de2c4246d68d;hb=1cf4bd14be226274d5deb05da8480ab91a5dac52;hp=acccbcc4b7693156e9778f5e595b511c7109887e;hpb=20b0104deaeab77fa7ab1444dbcedfcdbf5865f8;p=spider.git diff --git a/cmd/set/here.pl b/cmd/set/here.pl index acccbcc4..b89d47d7 100644 --- a/cmd/set/here.pl +++ b/cmd/set/here.pl @@ -15,9 +15,9 @@ my @out; foreach $call (@args) { $call = uc $call; - my $user = ($call eq $self->call) ? $self->user : DXUser->get($call); - if ($user) { - $user->here(1); + my $chan = DXChannel->get($call); + if ($chan) { + $chan->here(1); push @out, DXM::msg('heres', $call); } else { push @out, DXM::msg('e3', "Set Here", $call);