summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-01 00:20:32 -0500
committerAdam <Adam@anope.org>2013-04-01 00:20:32 -0500
commit65155ef5c520e89b1d96d1768c1d7308334940c9 (patch)
tree4fea272ad563c004905d5c487f364154006692cc /src
parent1cb05553e286227e6bbd463d0b4b8cae40ff3940 (diff)
Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810a0c2f4a4
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/capab.cpp3
-rw-r--r--src/modules/m_spanningtree/treesocket.h3
2 files changed, 0 insertions, 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<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)
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<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);