A few checks to check that we really are dealing with IRC servers.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@465 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-15 13:08:39 +00:00 committed by cras
commit 5707140938
6 changed files with 26 additions and 4 deletions

View file

@ -231,8 +231,12 @@ static int sig_massjoin_timeout(void)
time_t max;
max = time(NULL)-settings_get_int("massjoin_max_wait");
for (tmp = servers; tmp != NULL; tmp = tmp->next)
server_check_massjoins(tmp->data, max);
for (tmp = servers; tmp != NULL; tmp = tmp->next) {
IRC_SERVER_REC *server = tmp->data;
if (irc_server_check(server))
server_check_massjoins(server, max);
}
return 1;
}