From eb5086504c3d755d81ce6c482cdff5bf7b003fe6 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 28 Aug 2007 17:34:25 +0000 Subject: 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 --- src/modules/m_spanningtree/treesocket1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3