summaryrefslogtreecommitdiff
path: root/modules/core/gl_global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/gl_global.cpp')
-rw-r--r--modules/core/gl_global.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/gl_global.cpp b/modules/core/gl_global.cpp
index e03c3f788..9c944dd33 100644
--- a/modules/core/gl_global.cpp
+++ b/modules/core/gl_global.cpp
@@ -52,10 +52,9 @@ class GLGlobal : public Module
CommandGLGlobal commandglglobal;
public:
- GLGlobal(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ GLGlobal(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
{
this->SetAuthor("Anope");
- this->SetType(CORE);
if (Config->s_Global.empty())
throw ModuleException("Global is disabled");