1. changed help command so that it works correctly with multiple title lines.
[spider.git] / perl / DXMsg.pm
index 8c2e7c46aa3e3d8fb85a7ef45e3ec185e74c777e..d5f56c330a59945e944ad9b0a608bea0d0d65c7e 100644 (file)
@@ -267,7 +267,7 @@ sub process
                                                # does an identical message already exist?
                                                my $m;
                                                for $m (@msg) {
-                                                       if ($ref->{subject} eq $m->{subject} && $ref->{t} == $m->{t} && $ref->{from} eq $m->{from}) {
+                                                       if ($ref->{subject} eq $m->{subject} && $ref->{t} == $m->{t} && $ref->{from} eq $m->{from} && $ref->{to} eq $m->{to}) {
                                                                $ref->stop_msg($self->call);
                                                                my $msgno = $m->{msgno};
                                                                dbg('msg', "duplicate message to $msgno\n");