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:
parent
b16682f4fd
commit
95bc994779
@ -257,6 +257,7 @@ 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.. */
|
||||||
|
if (rec->server == orig->server)
|
||||||
rec->destroy = time(NULL)+60;
|
rec->destroy = time(NULL)+60;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user