forked from PsychoticNinja/irssi
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:
parent
aead991669
commit
4488dbd6c9
@ -275,10 +275,6 @@ int quitmsg_is_split(const char *msg)
|
|||||||
if (!host2_dot || prev == '.')
|
if (!host2_dot || prev == '.')
|
||||||
return FALSE;
|
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 */
|
/* top-domain1 must be 2+ chars long and contain only alphabets */
|
||||||
p = host2-1;
|
p = host2-1;
|
||||||
while (p[-1] != '.') {
|
while (p[-1] != '.') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user