summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-05 09:09:30 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-05 09:09:30 +0000
commit4187402348f60fc0e96338113988f95882fcb624 (patch)
tree98bf9205d660ed11fa05b6b47c058ccbb7d65b4b /src/irc
parent0ccf04f67184d737b06ad9cf648ca61e85c38d9f (diff)
downloadirssi-4187402348f60fc0e96338113988f95882fcb624.zip
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
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/irc-servers.c8
1 files changed, 6 insertions, 2 deletions
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)