]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix CGP helper reply parsing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Jun 2017 19:10:53 +0000 (20:10 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Jun 2017 19:10:53 +0000 (20:10 +0100)
utils/cgp_rspamd.pl

index 68abc9342248e6001acc8d1512255f431b257842..8ef2a7cf420d0a519c6981092c2ee3fa0445e65a 100644 (file)
@@ -64,7 +64,7 @@ sub rspamd_scan {
         print "$tag FAILURE\n";
       }
       else {
-        my $def     = $js->{'default'};
+        my $def     = $js;
         my $headers = "";
 
         if ( !$def ) {