projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now add files that the previous commit refered to
[spider.git]
/
cmd
/
set
/
announce.pl
diff --git
a/cmd/set/announce.pl
b/cmd/set/announce.pl
index 8a77f1eac6e80e350c7836875ef8c90fc2850b39..d98b79986b33cf27954829462d79e5725874c259 100644
(file)
--- a/
cmd/set/announce.pl
+++ b/
cmd/set/announce.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-15,12
+15,13
@@
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) {
$chan->ann(1);
if ($chan) {
$chan->ann(1);
- push @out, DXM::msg('anns', $call);
+ $chan->user->wantann(1);
+ push @out, $self->msg('anns', $call);
} else {
} else {
- push @out,
DXM::
msg('e3', "Set Announce", $call);
+ push @out,
$self->
msg('e3', "Set Announce", $call);
}
}
return (1, @out);
}
}
return (1, @out);