summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 18:04:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 18:04:09 +0000
commit4d27530c80ead96f5fb8f9833045b465296af1b8 (patch)
tree27fc42e846d26f0a91317aab62c3efaebb7899b2 /src/modules/m_spanningtree.cpp
parentd66e596b4e8c6678e57ad32bc950f22fa467de7d (diff)
Only VF_COMMON modules are sent in CAPAB now, not VF_STATIC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5115 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 335624ec5..4f25b01d3 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -799,7 +799,7 @@ class TreeSocket : public InspSocket
for (int i = 0; i <= this->Instance->GetModuleCount(); i++)
{
- if ((this->Instance->modules[i]->GetVersion().Flags & VF_STATIC) || (this->Instance->modules[i]->GetVersion().Flags & VF_COMMON))
+ if (this->Instance->modules[i]->GetVersion().Flags & VF_COMMON)
modlist.push_back(this->Instance->Config->module_names[i]);
}
sort(modlist.begin(),modlist.end());