X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fwcy.pl;h=ae5b7237a761ac9ffedbc503933f82723909f152;hb=5d10d2095199b0d798926fa9e79a3f580c296b67;hp=4746112711239a2ab33fb19bd1fedd29f6c10fb4;hpb=6ee86589ded6e313ddb9bb748d8ba751a760692b;p=spider.git diff --git a/cmd/set/wcy.pl b/cmd/set/wcy.pl index 47461127..ae5b7237 100644 --- a/cmd/set/wcy.pl +++ b/cmd/set/wcy.pl @@ -3,7 +3,7 @@ # # Copyright (c) 2001 - Dirk Koopman # -# $Id$ +# # my ($self, $line) = @_; @@ -15,9 +15,9 @@ my @out; foreach $call (@args) { $call = uc $call; - my $chan = DXChannel->get($call); + my $chan = DXChannel::get($call); if ($chan) { - $chan->wcy(1); + DXChannel::wcy($chan, 1); $chan->user->wantwcy(1); push @out, $self->msg('wcys', $call); } else {