From e950f568d0f571e9475aa38177486468714de4d3 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 15 Aug 2013 16:15:26 +0200 Subject: m_spanningtree Remove SpanningTreeUtilities* fields and parameters --- src/modules/m_spanningtree/fjoin.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/modules/m_spanningtree/fjoin.cpp') 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& 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)) { -- cgit v1.3.1-10-gc9f91