summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
/*