diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-28 17:34:25 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-28 17:34:25 +0000 |
commit | eb5086504c3d755d81ce6c482cdff5bf7b003fe6 (patch) | |
tree | 5609962572b820361a9346f0c7d1cb2755712ebe | |
parent | 45ee54f3d227a3d33621a8806051ccd76f4a029a (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
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 2 |
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; } |