diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-13 20:10:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-13 20:10:53 +0100 |
commit | 527119290db9e79cf4be11511c378f9704dd1fb6 (patch) | |
tree | 988c6148a3ebe6671bb80aa1ea7ee76c1003d18c /utils/cgp_rspamd.pl | |
parent | 22e271f82c0709dabc40b50f89f07127af76e808 (diff) | |
download | rspamd-527119290db9e79cf4be11511c378f9704dd1fb6.tar.gz rspamd-527119290db9e79cf4be11511c378f9704dd1fb6.zip |
[Fix] Fix CGP helper reply parsing
Diffstat (limited to 'utils/cgp_rspamd.pl')
-rw-r--r-- | utils/cgp_rspamd.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |