From 03cdf5043fe4b6c51b6083ef8232d6c2135fdbf9 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sun, 27 Oct 2019 08:51:01 +0100 Subject: [PATCH] Fix +f not detecting repeats in case of 1st message, REHASH, 2nd message. This due to a missing SavePersistentPointer() on the siphash key. [skip ci] --- src/modules/chanmodes/floodprot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/chanmodes/floodprot.c b/src/modules/chanmodes/floodprot.c index fd504412b..abfcf16c0 100644 --- a/src/modules/chanmodes/floodprot.c +++ b/src/modules/chanmodes/floodprot.c @@ -196,6 +196,7 @@ MOD_LOAD() MOD_UNLOAD() { SavePersistentPointer(modinfo, removechannelmodetimer_list); + SavePersistentPointer(modinfo, floodprot_msghash_key); return MOD_SUCCESS; }