From 4187402348f60fc0e96338113988f95882fcb624 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 5 Apr 2002 09:09:30 +0000 Subject: workaround for some server that doesn't reply anything to pings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2656 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-servers.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/irc') diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c index 11817188..0a198e48 100644 --- a/src/irc/core/irc-servers.c +++ b/src/irc/core/irc-servers.c @@ -516,8 +516,12 @@ static void event_motd(IRC_SERVER_REC *server, const char *data, const char *fro you'd think they could at least get that right?? But no, then I'll have to go and add these idiotic kludges to make them work. Maybe I should instead get the users of these - servers to complain about it to their admins. */ - event_connected(server, data, from); + servers to complain about it to their admins. + + Oh, and looks like it also doesn't answer anything to PINGs, + disable lag checking. */ + server->disable_lag = TRUE; + event_connected(server, data, from); } static void event_channels_formed(IRC_SERVER_REC *server, const char *data) -- cgit v1.2.3