summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/netsplit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/core/netsplit.c b/src/irc/core/netsplit.c
index d745a978..963b18bf 100644
--- a/src/irc/core/netsplit.c
+++ b/src/irc/core/netsplit.c
@@ -257,7 +257,8 @@ int quitmsg_is_split(const char *msg)
static void split_set_timeout(void *key, NETSPLIT_REC *rec, NETSPLIT_REC *orig)
{
/* same servers -> split over -> destroy old records sooner.. */
- rec->destroy = time(NULL)+60;
+ if (rec->server == orig->server)
+ rec->destroy = time(NULL)+60;
}
static void event_join(const char *data, IRC_SERVER_REC *server,