X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Fbin%2FMAPS.pm;h=dd7c67255ff4424c2cd2d7d332f1def6a221aae8;hb=a80e7e873fd3acf729cd547134a4dbd55362bb1b;hp=bb0c368c3a23a11b12e05b4473721f86d4c4e06c;hpb=e80b69bc05be9f38b1e4b9af37f3232f5004f5e4;p=clearscm.git diff --git a/maps/bin/MAPS.pm b/maps/bin/MAPS.pm index bb0c368..dd7c672 100644 --- a/maps/bin/MAPS.pm +++ b/maps/bin/MAPS.pm @@ -139,8 +139,8 @@ sub UserExists; sub Whitelist; BEGIN { - my $MAPS_username = "mapsadmin"; - my $MAPS_password = "mapsadmin"; + my $MAPS_username = "maps"; + my $MAPS_password = "spam"; OpenDB $MAPS_username, $MAPS_password; } # BEGIN @@ -242,12 +242,12 @@ sub AddEmail ($$$) { MAPSDB::AddEmail $sender, $subject, $data; } # AddEmail -sub AddList ($$$;$$) { - my ($listtype, $pattern, $sequence, $comment, $hit_count) = @_; +sub AddList ($$$;$$$) { + my ($listtype, $pattern, $sequence, $comment, $hit_count, $last_hit) = @_; $hit_count //= CountMsg $pattern; - MAPSDB::AddList $listtype, $pattern, $sequence, $comment, $hit_count; + MAPSDB::AddList $listtype, $pattern, $sequence, $comment, $hit_count, $last_hit; } # AddList sub AddUser ($$$$) {