diff options
author | Timo Sirainen <cras@irssi.org> | 2003-06-03 21:40:02 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2003-06-03 21:40:02 +0000 |
commit | 4488dbd6c9cd77a9930eb7084687f607a38667b1 (patch) | |
tree | 45ed7fe3a5912ea7599d6459c3bd22d8fa306a64 /src | |
parent | aead9916698265ca21f27a839e5539674da18b3a (diff) | |
download | irssi-4488dbd6c9cd77a9930eb7084687f607a38667b1.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/netsplit.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/irc/core/netsplit.c b/src/irc/core/netsplit.c index 6117c345..04eb3ff0 100644 --- a/src/irc/core/netsplit.c +++ b/src/irc/core/netsplit.c @@ -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] != '.') { |