summaryrefslogtreecommitdiff
path: root/src/irc/flood/flood.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/flood/flood.c')
-rw-r--r--src/irc/flood/flood.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c
index 0c4dc7ab..a1d4dd91 100644
--- a/src/irc/flood/flood.c
+++ b/src/irc/flood/flood.c
@@ -63,6 +63,7 @@ static int flood_hash_check_remove(const char *key, FLOOD_REC *flood, gpointer n
flood->items = g_slist_remove(flood->items, rec);
g_free(rec->target);
g_free(rec);
+ rec->msgcount--;
}
}