diff options
Diffstat (limited to 'src/module.cpp')
-rw-r--r-- | src/module.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/module.cpp b/src/module.cpp index 460f809a0..0fcf8687f 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -33,7 +33,7 @@ Module::Module(const Anope::string &modname, const Anope::string &, ModType modt if (ModuleManager::FindModule(this->name)) throw CoreException("Module already exists!"); - + if (Anope::NoThird && type & THIRD) throw ModuleException("Third party modules may not be loaded"); @@ -127,4 +127,3 @@ int ModuleVersion::GetPatch() const { return this->version_patch; } - |