1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

Don't require hostmasks to be different with netsplits. Fixes dalnet

netsplit detection. Patch by coekie


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3114 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-06-03 21:40:02 +00:00 committed by cras
parent aead991669
commit 4488dbd6c9

View File

@ -275,10 +275,6 @@ int quitmsg_is_split(const char *msg)
if (!host2_dot || prev == '.')
return FALSE;
if (len == (int) (host2-host1)-1 &&
g_strncasecmp(host1, host2, len) == 0)
return FALSE; /* hosts can't be the same */
/* top-domain1 must be 2+ chars long and contain only alphabets */
p = host2-1;
while (p[-1] != '.') {