remove dupe check for sysops
[spider.git] / cmd / announce.pl
index 703f19bd9fcd4378d9c815464c7b0c59b18e7e41..6b66d68eb9947dfb2c181bdac6bfb0d1863e1abb 100644 (file)
@@ -57,7 +57,7 @@ if (@bad = BadWords::check($line)) {
        return (1, ());
 }
 
-return (1, $self->msg('dup')) if AnnTalk::dup($from, $toflag, $line);
+return (1, $self->msg('dup')) if $self->priv < 5 && AnnTalk::dup($from, $toflag, $line);
 Log('ann', $to, $from, $line);
 DXChannel::broadcast_list("To $to de $from ($t): $line\a", 'ann', undef, @locals);
 if ($to ne "LOCAL") {