X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fannounce.pl;h=323ff5e07b5000a09d000558e9f1b10256f9ccb4;hb=35432a9f25350b9a5db513efbe248b61176b0684;hp=8a77f1eac6e80e350c7836875ef8c90fc2850b39;hpb=1cf4bd14be226274d5deb05da8480ab91a5dac52;p=spider.git diff --git a/cmd/set/announce.pl b/cmd/set/announce.pl index 8a77f1ea..323ff5e0 100644 --- a/cmd/set/announce.pl +++ b/cmd/set/announce.pl @@ -18,9 +18,10 @@ foreach $call (@args) { my $chan = DXChannel->get($call); if ($chan) { $chan->ann(1); - push @out, DXM::msg('anns', $call); + $chan->user->wantann(1); + push @out, $self->msg('anns', $call); } else { - push @out, DXM::msg('e3', "Set Announce", $call); + push @out, $self->msg('e3', "Set Announce", $call); } } return (1, @out);