1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fix for multiserver support

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@688 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-09-27 23:59:20 +00:00 committed by cras
parent e256b3a108
commit 796531e31f

View File

@ -85,6 +85,9 @@ static int flood_timeout(void)
for (tmp = servers; tmp != NULL; tmp = tmp->next) { for (tmp = servers; tmp != NULL; tmp = tmp->next) {
IRC_SERVER_REC *rec = tmp->data; IRC_SERVER_REC *rec = tmp->data;
if (!IS_IRC_SERVER(rec))
continue;
mserver = MODULE_DATA(rec); mserver = MODULE_DATA(rec);
g_hash_table_foreach_remove(mserver->floodlist, (GHRFunc) flood_hash_check_remove, GINT_TO_POINTER((int) now)); g_hash_table_foreach_remove(mserver->floodlist, (GHRFunc) flood_hash_check_remove, GINT_TO_POINTER((int) now));
} }