From 90b72dfd91ace76c5e89f3e10c167a36f6234511 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 28 Aug 2007 16:23:03 +0000 Subject: bool SamePerson = strcmp(localident, remoteident) && !strcmp(localip, remoteip); change to: bool SamePerson = !strcmp(localident, remoteident) && !strcmp(localip, remoteip); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7951 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 5f927af51..d1560e872 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -945,7 +945,7 @@ int TreeSocket::DoCollision(userrec *u, time_t remotets, const char *remoteident /* fuck. now it gets complex. */ /* first, let's see if ident@host matches. */ - bool SamePerson = strcmp(localident, remoteident) + bool SamePerson = !strcmp(localident, remoteident) && !strcmp(localip, remoteip); /* -- cgit v1.2.3