From 4d27530c80ead96f5fb8f9833045b465296af1b8 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 2 Sep 2006 18:04:09 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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()); -- cgit v1.2.3