summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 16:23:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 16:23:03 +0000
commit90b72dfd91ace76c5e89f3e10c167a36f6234511 (patch)
tree1554a890db3d95659dcf5fe77c6f4187d0e40c85 /src/modules
parent451b74f37cb5b5baa2a54a49ade8920b3692900b (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp2
1 files changed, 1 insertions, 1 deletions
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);
/*