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
This commit is contained in:
brain 2006-09-02 18:04:09 +00:00
parent d66e596b4e
commit 4d27530c80

View File

@ -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());