summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-01 03:37:40 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-01 03:37:40 +0000
commit6d715e128f9cea6c25cc57dc23c1bccdbbfda475 (patch)
tree77adca9e51cad8eed22c130fe53fd82c6981bc3c /src/modules/m_spanningtree
parent18aae91d9336b204ac252ad83008bfd0e78595e4 (diff)
Change SWHOIS to OPTCOMMON, remove m_operinvex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11789 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/compat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index 3724319b7..6d804aa71 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -25,6 +25,7 @@ static const char* const forge_common_1201[] = {
"m_sapart.so",
"m_saquit.so",
"m_setident.so",
+ "m_swhois.so",
};
static std::string wide_newline("\r\n");
@@ -40,6 +41,9 @@ void TreeSocket::CompatAddModules(std::vector<std::string>& modlist)
if (ServerInstance->Modules->Find(forge_common_1201[i]))
modlist.push_back(forge_common_1201[i]);
}
+ // module was merged
+ if (ServerInstance->Modules->Find("m_operchans.so"))
+ modlist.push_back("m_operinvex.so");
}
}