diff options
Diffstat (limited to 'modules/core/os_global.cpp')
-rw-r--r-- | modules/core/os_global.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/core/os_global.cpp b/modules/core/os_global.cpp index 961a70ab4..a63e211cd 100644 --- a/modules/core/os_global.cpp +++ b/modules/core/os_global.cpp @@ -57,6 +57,10 @@ class OSGlobal : public Module this->SetAuthor("Anope"); this->SetType(CORE); + if (Config->s_GlobalNoticer.empty()) + throw ModuleException("Global is disabled"); + + // Maybe we should put this ON Global? this->AddCommand(OperServ, &commandosglobal); } }; |