aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/fjoin.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-08-15 16:15:26 +0200
committerGravatar attilamolnar2013-08-17 18:27:14 +0200
commite950f568d0f571e9475aa38177486468714de4d3 (patch)
tree783059ff0b0e1d421250510fe080a26db377bc2a /src/modules/m_spanningtree/fjoin.cpp
parentMerge pull request #608 from SaberUK/master+buildprop-dedupe (diff)
downloadinspircd++-e950f568d0f571e9475aa38177486468714de4d3.tar.gz
inspircd++-e950f568d0f571e9475aa38177486468714de4d3.tar.bz2
inspircd++-e950f568d0f571e9475aa38177486468714de4d3.zip
m_spanningtree Remove SpanningTreeUtilities* fields and parameters
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index 37683a440..21327581a 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -28,7 +28,6 @@
/** FJOIN, almost identical to TS6 SJOIN, except for nicklist handling. */
CmdResult CommandFJoin::Handle(const std::vector<std::string>& params, User *srcuser)
{
- SpanningTreeUtilities* Utils = ((ModuleSpanningTree*)(Module*)creator)->Utils;
/* 1.1+ FJOIN works as follows:
*
* Each FJOIN is sent along with a timestamp, and the side with the lowest
@@ -167,7 +166,6 @@ bool CommandFJoin::ProcessModeUUIDPair(const std::string& item, TreeSocket* src_
}
/* Check that the user's 'direction' is correct */
- SpanningTreeUtilities* Utils = ((ModuleSpanningTree*)(Module*)creator)->Utils;
TreeServer* route_back_again = Utils->BestRouteTo(who->server);
if ((!route_back_again) || (route_back_again->GetSocket() != src_socket))
{