From 527119290db9e79cf4be11511c378f9704dd1fb6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 13 Jun 2017 20:10:53 +0100 Subject: [PATCH] [Fix] Fix CGP helper reply parsing --- utils/cgp_rspamd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5