summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 17:34:25 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 17:34:25 +0000
commiteb5086504c3d755d81ce6c482cdff5bf7b003fe6 (patch)
tree5609962572b820361a9346f0c7d1cb2755712ebe /src/modules/m_spanningtree
parent45ee54f3d227a3d33621a8806051ccd76f4a029a (diff)
Oops: This 'remote' needs to be local, otherwise our return value can be incorrect in some cases.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7954 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-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 d1560e872..91165824e 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -999,7 +999,7 @@ int TreeSocket::DoCollision(userrec *u, time_t remotets, const char *remoteident
this->WriteLine(std::string(":")+this->Instance->Config->ServerName+" SVSNICK "+remoteuid+" " + remoteuid);
}
- if (!bChangeRemote)
+ if (!bChangeLocal)
return 2;
}