1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

don't destroy all netsplits when someone joins back from split, only

the nicks that were in same server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@892 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-27 15:47:26 +00:00 committed by cras
parent b16682f4fd
commit 95bc994779

View File

@ -257,7 +257,8 @@ int quitmsg_is_split(const char *msg)
static void split_set_timeout(void *key, NETSPLIT_REC *rec, NETSPLIT_REC *orig) static void split_set_timeout(void *key, NETSPLIT_REC *rec, NETSPLIT_REC *orig)
{ {
/* same servers -> split over -> destroy old records sooner.. */ /* 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, static void event_join(const char *data, IRC_SERVER_REC *server,