Here's a patch that should produce the desired results:
diff -ur xchat-2.8.4.orig/src/common/xchat.c xchat-2.8.4/src/common/xchat.c
--- xchat-2.8.4.orig/src/common/xchat.c 2007-06-01 08:32:46.000000000 -0400
+++ xchat-2.8.4/src/common/xchat.c 2008-02-28 06:34:43.000000000 -0500
@@ -177,7 +177,10 @@
sprintf (tbuf, "%d", lag);
EMIT_SIGNAL (XP_TE_PINGTIMEOUT,
serv->server_session, tbuf, NULL,
NULL, NULL, 0);
- serv->auto_reconnect (serv, FALSE, -1);
+ if (prefs.autoreconnect)
+ serv->auto_reconnect (serv, FALSE, -1);
+ else
+ serv->disconnect (serv->server_session, FALSE, -1);
} else
{
snprintf (tbuf, sizeof (tbuf), "LAG%lu", tim);
--
xchat auto reconnects when net_auto_reconnect is set to 0
https://bugs.launchpad.net/bugs/190986
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs