From 65155ef5c520e89b1d96d1768c1d7308334940c9 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 1 Apr 2013 00:20:32 -0500 Subject: [PATCH] Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810a0c2f4a4 --- src/modules/m_spanningtree/capab.cpp | 3 --- src/modules/m_spanningtree/treesocket.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index cf0fde3e8..f36692a54 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -32,9 +32,6 @@ std::string TreeSocket::MyModules(int filter) { std::vector modlist = ServerInstance->Modules->GetAllModuleNames(filter); - if (filter == VF_COMMON && proto_version != ProtocolVersion) - CompatAddModules(modlist); - std::string capabilities; sort(modlist.begin(),modlist.end()); for (std::vector::const_iterator i = modlist.begin(); i != modlist.end(); ++i) diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h index c1ca5e74a..85d256c61 100644 --- a/src/modules/m_spanningtree/treesocket.h +++ b/src/modules/m_spanningtree/treesocket.h @@ -186,9 +186,6 @@ class TreeSocket : public BufferedSocket */ void SendCapabilities(int phase); - /** Add modules to VF_COMMON list for backwards compatability */ - void CompatAddModules(std::vector& modlist); - /* Isolate and return the elements that are different between two lists */ void ListDifference(const std::string &one, const std::string &two, char sep, std::string& mleft, std::string& mright); -- 2.39.5