]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810...
authorAdam <Adam@anope.org>
Mon, 1 Apr 2013 05:20:32 +0000 (00:20 -0500)
committerAdam <Adam@anope.org>
Mon, 1 Apr 2013 05:20:32 +0000 (00:20 -0500)
src/modules/m_spanningtree/capab.cpp
src/modules/m_spanningtree/treesocket.h

index cf0fde3e83ffd1841cd45e59d99d4c2351524a72..f36692a542959636fcc45629bf0947e688831100 100644 (file)
@@ -32,9 +32,6 @@ std::string TreeSocket::MyModules(int filter)
 {
        std::vector<std::string> 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<std::string>::const_iterator i = modlist.begin(); i != modlist.end(); ++i)
index c1ca5e74a3b8333c44de63df01b78b4bfa9f32d6..85d256c616a7439d2432685e390ec279d87e4ad4 100644 (file)
@@ -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<std::string>& 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);