diff options
Diffstat (limited to 'src/irc/flood/flood.c')
-rw-r--r-- | src/irc/flood/flood.c | 3 |
1 files changed, 3 insertions, 0 deletions
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)); } |