From: Vsevolod Stakhov Date: Tue, 13 Jun 2017 19:10:53 +0000 (+0100) Subject: [Fix] Fix CGP helper reply parsing X-Git-Tag: 1.6.1~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=527119290db9e79cf4be11511c378f9704dd1fb6;p=rspamd.git [Fix] Fix CGP helper reply parsing --- diff --git a/utils/cgp_rspamd.pl b/utils/cgp_rspamd.pl index 68abc9342..8ef2a7cf4 100644 --- a/utils/cgp_rspamd.pl +++ b/utils/cgp_rspamd.pl @@ -64,7 +64,7 @@ sub rspamd_scan { print "$tag FAILURE\n"; } else { - my $def = $js->{'default'}; + my $def = $js; my $headers = ""; if ( !$def ) {