diff options
author | Timo Sirainen <cras@irssi.org> | 2000-09-27 23:59:20 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-09-27 23:59:20 +0000 |
commit | 796531e31f9c5e3144f217d24d29b9d117fc0a42 (patch) | |
tree | d7c0c84d56f6521af0214171439e805282f9d711 | |
parent | e256b3a1083aa11f5f3b34e8ddb8dc939a028f32 (diff) | |
download | irssi-796531e31f9c5e3144f217d24d29b9d117fc0a42.zip |
fix for multiserver support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@688 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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)); } |