spider/cmd/show/dup_eph.pl
minima 49a1420967 fix probs with eph dup deleting
fix probs with national characters not appearing in msgs (maybe)
2002-03-19 19:38:38 +00:00

24 lines
408 B
Perl

#
# show a list of all the outstanding announce dups
# for debugging really
#
# Copyright (c) 2000 Dirk Koopman G1TLH
#
# $Id$
#
my $self = shift;
my $line = shift;
return (1, $self->msg('e5')) unless $self->priv >= 9;
my $regex = $line;
my @out;
my %list = DXProt::eph_list();
for (keys %list ) {
if ($regex) {
next unless /$regex/i;
}
push @out, ztime($list{$_}) . ": $_";
}
return (1, sort @out);