From: Adam Date: Mon, 1 Apr 2013 05:20:32 +0000 (-0500) Subject: Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810... X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=65155ef5c520e89b1d96d1768c1d7308334940c9;p=user%2Fhenk%2Fcode%2Finspircd.git Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810a0c2f4a4 --- 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);