From 796531e31f9c5e3144f217d24d29b9d117fc0a42 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 27 Sep 2000 23:59:20 +0000 Subject: fix for multiserver support git-svn-id: http://svn.irssi.org/repos/irssi/trunk@688 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/flood/flood.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/irc/flood/flood.c') diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c index edd6566b..0c6a9361 100644 --- a/src/irc/flood/flood.c +++ b/src/irc/flood/flood.c @@ -85,6 +85,9 @@ static int flood_timeout(void) for (tmp = servers; tmp != NULL; tmp = tmp->next) { IRC_SERVER_REC *rec = tmp->data; + if (!IS_IRC_SERVER(rec)) + continue; + mserver = MODULE_DATA(rec); g_hash_table_foreach_remove(mserver->floodlist, (GHRFunc) flood_hash_check_remove, GINT_TO_POINTER((int) now)); } -- cgit v1.2.3