X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fannounce.pl;h=77811449638fd01210511bb03119d8b33dd17ef3;hb=601ea9fb47810209aeedef1a3041df5a916964f3;hp=71b046d0cdf483aa5df7792ed4e3b1426ec220db;hpb=69c8aeb338cc485103e289fbab7ec4e7e056ed20;p=spider.git diff --git a/cmd/show/announce.pl b/cmd/show/announce.pl index 71b046d0..77811449 100644 --- a/cmd/show/announce.pl +++ b/cmd/show/announce.pl @@ -3,11 +3,12 @@ # # Copyright (c) 1998 - Dirk Koopman G1TLH # -# $Id$ +# # my $self = shift; -return (1, $self->msg('e5')) if $self->priv < 9; +# this appears to be a reasonable thing for users to do (thank you JE1SGH) +# return (1, $self->msg('e5')) if $self->priv < 9; my $cmdline = shift; my @f = split /\s+/, $cmdline; @@ -33,5 +34,7 @@ while ($f = shift @f) { # next field $to = 20 unless $to; $from = 0 unless $from; -@out = DXLog::print($from, $to, $main::systime, '^ann', $who); +@out = $self->spawn_cmd("show/announce $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, 'ann', $who]); + +#@out = DXLog::print($from, $to, $main::systime, 'ann', $who); return (1, @out);