You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/04/16 22:22:09 UTC

svn commit: rev 10051 - incubator/spamassassin/trunk/lib/Mail

Author: felicity
Date: Fri Apr 16 13:22:08 2004
New Revision: 10051

Modified:
   incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm
Log:
bug 3272: logic in copy_config for checking source + dest for hash reference was wrong. oops.

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm	(original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm	Fri Apr 16 13:22:08 2004
@@ -1578,8 +1578,8 @@
   my($self, $source, $dest) = @_;
 
   # At least one of either source or dest needs to be a hash reference ...
-  unless ((defined $source && ref($source) ne 'HASH') ||
-          (defined $dest && ref($dest) ne 'HASH')) {
+  unless ((defined $source && ref($source) eq 'HASH') ||
+          (defined $dest && ref($dest) eq 'HASH')) {
     return 0;
   }