Browse Source

???

pull/1/head
Brennen Bearnes 17 years ago
parent
commit
798bf59e0b
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      lib/Wala.pm
  2. +3
    -3
      spam_feed.pl

+ 1
- 1
lib/Wala.pm View File

@ -465,7 +465,7 @@ sub spamcheck {
and $self->get_username eq $self->DefaultUserName )
{
# Quickie spamlogging.
my $time = iso_date(time);
my $time = time;
append_file($self->SpamLogFile,
"$time $pagename $ENV{'REMOTE_ADDR'} $summary\n");


+ 3
- 3
spam_feed.pl View File

@ -32,8 +32,8 @@ my @changes = $w->recent_changes(10, $w->SpamLogFile);
for my $change (@changes) {
my ($timestamp, $pagename, $author, $description)
= $change =~ m/(\d+) (\S+) (\w+) (.*)$/;
my ($timestamp, $pagename, $ip, $description)
= $change =~ m/(\d+) (\S+) ([\w\d.]+) (.*)$/;
my $change_time = Wala::iso_date($timestamp);
@ -42,7 +42,7 @@ for my $change (@changes) {
link => "$scriptname?$pagename",
id => "$scriptname?$pagename",
updated => $change_time,
content => $description,
content => "$ip $description",
);
}


|||||||
x
 
000:0
Loading…
Cancel
Save