mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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:
parent
aead991669
commit
4488dbd6c9
@ -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] != '.') {
|
||||
|
Loading…
Reference in New Issue
Block a user