aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 8c32b423a..3e7d13db5 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -295,6 +295,7 @@ accept_fuzzy_socket (gint fd, short what, void *arg)
}
else if ((guint)r >= sizeof (struct rspamd_fuzzy_cmd)) {
/* Check shingles count sanity */
+ session.legacy = FALSE;
cmd = (struct rspamd_fuzzy_cmd *)buf;
if (!rspamd_fuzzy_command_valid (cmd, r)) {
/* Bad input */