From 7fddec436acdfd1e1725176abb1cbc76299b071d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 May 2016 13:01:13 +0100 Subject: [PATCH] [Fix] Add workround for rspamd-1.3 --- src/fuzzy_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index f43cb3f44..0f6e3e88d 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -521,7 +521,7 @@ rspamd_fuzzy_command_valid (struct rspamd_fuzzy_cmd *cmd, gint r) { enum rspamd_fuzzy_epoch ret = RSPAMD_FUZZY_EPOCH_MAX; - if (cmd->version == RSPAMD_FUZZY_VERSION) { + if (cmd->version >= RSPAMD_FUZZY_VERSION) { if (cmd->shingles_count > 0) { if (r == sizeof (struct rspamd_fuzzy_shingle_cmd)) { ret = RSPAMD_FUZZY_EPOCH9; -- 2.39.5