Changeset 422 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 07/06/10 15:50:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r420 r422 827 827 my ($action,$subj,$message) = @_; 828 828 829 ##fixme: need to redesign the breakdown/processing for $action for proper handling of all cases 830 829 831 # split action into parts for fiddlement. nb: there are almost certainly better ways to do this. 830 my @actionbits = ($action =~ /^(.)(.)(.)$/);832 my @actionbits = split //, $action; 831 833 832 834 # want to notify anyone who has specifically requested notify on *this* type ($action as passed), … … 859 861 $mailer->mail("ipdb\@$domain"); 860 862 $mailer->to($recip); 861 $mailer->data("From: \" IP Database\" <ipdb\@$domain>\n",863 $mailer->data("From: \"$org_name IP Database\" <ipdb\@$domain>\n", 862 864 "To: $recip\n", 863 865 "Date: ".strftime("%a, %d %b %Y %H:%M:%S %z",localtime)."\n",
Note:
See TracChangeset
for help on using the changeset viewer.