projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix disconnect from peer
[spider.git]
/
cmd
/
set
/
wcy.pl
diff --git
a/cmd/set/wcy.pl
b/cmd/set/wcy.pl
index 4746112711239a2ab33fb19bd1fedd29f6c10fb4..ae5b7237a761ac9ffedbc503933f82723909f152 100644
(file)
--- a/
cmd/set/wcy.pl
+++ b/
cmd/set/wcy.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 2001 - Dirk Koopman
#
#
# Copyright (c) 2001 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-15,9
+15,9
@@
my @out;
foreach $call (@args) {
$call = uc $call;
foreach $call (@args) {
$call = uc $call;
- my $chan = DXChannel
->
get($call);
+ my $chan = DXChannel
::
get($call);
if ($chan) {
if ($chan) {
-
$chan->wcy(
1);
+
DXChannel::wcy($chan,
1);
$chan->user->wantwcy(1);
push @out, $self->msg('wcys', $call);
} else {
$chan->user->wantwcy(1);
push @out, $self->msg('wcys', $call);
} else {