aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index c26889628..5c542105e 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -1167,7 +1167,7 @@ proxy_client_finish_handler (struct rspamd_http_connection *conn,
rspamd_http_connection_reset (session->client_conn);
/* Reset spamc legacy */
- if (msg->method >= HTTP_CHECK) {
+ if (msg->method >= HTTP_SYMBOLS) {
msg->method = HTTP_GET;
session->is_spamc = TRUE;
msg_info_session ("enabling legacy rspamc mode for session");