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,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,
|
||||
|
Loading…
Reference in New Issue
Block a user