diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-03 18:22:56 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-11-03 18:22:56 +0000 |
commit | e27b8377a0c2ae6855d680f6b2eb44dc093813fc (patch) | |
tree | 442c8d33ee83224a0417c28771717f7bf47eff1c /src/modules | |
parent | 17cc3b8490692ee3a225f052425deb43a45b98db (diff) |
Remove m_halfop from list in compat linking mode
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11998 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/compat.cpp | 8 |
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++) |