summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/compat.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index acd5ff158..b35879cd9 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -34,6 +34,14 @@ void TreeSocket::CompatAddModules(std::vector<std::string>& modlist)
{
if (proto_version < 1202)
{
+ for(std::vector<std::string>::iterator i = modlist.begin(); i != modlist.end(); ++i)
+ {
+ if (*i == "m_halfop.so")
+ {
+ modlist.erase(i);
+ break;
+ }
+ }
// you MUST have chgident loaded in order to be able to translate FIDENT
modlist.push_back("m_chgident.so");
for(int i=0; i * sizeof(char*) < sizeof(forge_common_1201); i++)