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/05/28 22:02:02 UTC

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

Author: felicity
Date: Fri May 28 13:02:01 2004
New Revision: 20550

Modified:
   incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm
Log:
bug 3340: new conf code has a multi-level hash which has CODE references.  skip that in the config copy function.

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm	(original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm	Fri May 28 13:02:01 2004
@@ -1710,7 +1710,7 @@
     # we know the main value doesn't need to get copied.
     # also ignore anything plugin related, since users can't change that,
     # and there are usually code references.
-    next if ($k eq 'main' || $k =~ /plugin/);
+    next if ($k eq 'main' || $k =~ /plugin/ || $k eq 'registered_commands');
 
 
     my $i = ref($v);